top of page

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_GetSelectedTrackMediaNumChannels(0, 0, 0, 0)

Msg(channel)

- SCRIPT -

retval, projID, selectTrackID, selectItemID, ,channelOut = AZ_GetSelectedTrackMediaNumChannels(projID, selectTrackID, selectItemID, channelOut)

- API -

対応バージョン:

1.0.1

以降

MEDIA

AZ_GetSelectedTrackMediaNumChannels

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

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • selectTrackID(Int) : Selected 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

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

  • trackItemID(Int): The same as the input

  • channelOut(Int): Number of channels

bottom of page