top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

import sys

sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")

from AZSTOKE_BRONZE_python import *


def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")


retval, _, _, _, channel = AZ_GetTrackMediaNumChannels(0, 1, 2, 0)

Msg(channel)

- SCRIPT -

retval, projID, trackID, trackItemID, channelOut = AZ_GetTrackMediaNumChannels(projID, trackID, trackItemID, channelOut)

- API -

MEDIA

AZ_GetTrackMediaNumChannels

Gets the number of channels for the specified media in the specified track.

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • trackID(Int) : Track ID

  • trackItemID(Int): Track media ID

  • channelOut(Int): Any number (0 is OK)

▼Output value

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

  • proj ID(ReaProjrct): The same as the input is output

  • trackID(Int): The same as the input is output

  • trackItemID(Int): The same as the input

  • channelOut(Int): Number of channels

bottom of page