top of page
- API -

muteType = reaper.AZ_GetMediaItemMute(mediaItem)

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

▼Output value

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

  • muteType(bool): Whether to mute or not

- SCRIPT -

function Msg(param)

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

end


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

muteType = reaper.AZ_GetMediaItemMute(mediaItem)

Msg(muteType)


media = reaper.AZ_GetMediaItemSelect(0,1,0)

muteType = reaper.AZ_GetMediaItemMute(media)

Msg(muteType)

MEDIA

AZ_GetMediaItemMute

Supported versions:

1.0.3

onwards

Gets the mute status of the specified media item.

bottom of page