top of page
- API -

reaper.AZ_SetMediaItemMute(mediaItem,setType)

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

  • setType(bool): unmute [0], mute [1]

▼Output value

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

- SCRIPT -

function Msg(param)

reaper.ShowConsoleMsg(tostring(param).."\n")

end


mediaItem = reaper.AZ_GetMediaItemSelect(0,0,0)

reaper.AZ_SetMediaItemMute(mediaItem,1)

MEDIA

AZ_SetMediaItemMute

Supported versions:

1.0.3

onwards

Sets the mute state for the specified media item.

bottom of page