top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

import sys

sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")

from AZSTOKE_BRONZE_python import *


def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")

    

mediaItem = AZ_GetMediaItemSelect(0,0,0)

retval = AZ_SetMediaItemVolume(mediaItem,2)

- SCRIPT -

retval = AZ_SetMediaItemVolume(mediaItem,volume)

- API -

ID

MEDIA

AZ_SetMediaItemVolume

Set the volume (dB) of the specified media item.

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

  • volume(float) : Increase or decrease the volume to set

▼Output value

  • retval(bool): Whether the API execution was successful or not

bottom of page