top of page
- API -

bitRate=reaper.AZ_GetMediaItemBitRate(mediaItem)

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

▼Output value

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

  • bitRate(Integer): Bit rate

- SCRIPT -

function Msg(param)

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

end


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

bitRate = reaper.AZ_GetMediaItemBitRate(mediaItem)

Msg(bitRate)

MEDIA

AZ_GetMediaItemBitRate

Supported versions:

1.0.3

onwards

Get the bit rate of a specified media item

bottom of page