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

Msg(channel)

- SCRIPT -

retval, projID, selectItemID, channelOut = AZ_GetSelectedMediaNumChannels(projID, selectItemID, channelOut)

- API -

ID

MEDIA

AZ_GetSelectedMediaNumChannels

対応バージョン:

以降

Get the number of channels for the specified selected media

- API Detail-

▼Input value

  • projID(ReaProject): Project ID

  • itemID(Int): Selected item ID

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

▼Output value

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

  • projID (ReaProject): The same as the input is output

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

  • channelOut(Int) : Number of channels

bottom of page