top of page
- API -
channel=reaper.AZ_GetMediaItemNumChannels(mediaItem)
- API Detail-
▼Input value
MediaItem (MediaItem): Media item
▼Output value
retval(bool): Whether the API execution was successful or not
channel(Integer): Number of channels
- SCRIPT -
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
mediaItem = reaper.AZ_GetMediaItemSelect(0,0,0)
channel= reaper.AZ_GetMediaItemNumChannels(mediaItem)
Msg(channel)
MEDIA
AZ_GetMediaItemNumChannels
Supported versions:
1.0.3
onwards
Gets the number of channels for a given media item.
bottom of page