top of page
- API -
chMode = reaper.AZ_GetMediaItemChannelMode(mediaItem)
- API Detail-
▼Input value
MediaItem (MediaItem): Media item
▼Output value
retval(bool): Whether the API execution was successful or not
chMode(Integer): Channel mode
- SCRIPT -
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
mediaItem = reaper.AZ_GetMediaItemSelect(0,2,0)
chMode = reaper.AZ_GetMediaItemChannelMode(mediaItem)
Msg(chMode)
Item = reaper.AZ_GetMediaItemSelect(0,3,0)
ch = reaper.AZ_GetMediaItemChannelMode(Item)
Msg(ch)
MEDIA
AZ_GetMediaItemChannelMode
Supported versions:
1.0.3
onwards
Gets the channel mode of the specified media item.
bottom of page