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, _, _, _, sample = AZ_GetSelectedTrackMediaSampleRate(0, 1, 1, 0)

Msg(sample)

- SCRIPT -

retval, projID, selectTrackID, selectItemID, ,sampleOut = AZ_GetSelectedTrackMediaSampleRate(projID, selectTrackID, selectItemID, sampleOut)

- API -

対応バージョン:

1.0.1

以降

MEDIA

AZ_GetSelectedTrackMediaSampleRate

Get the sampling rate of the specified media of the specified selected track

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • selectTrackID(Int) : Selected track ID

  • trackItemID(Int): Track media ID

  • sampleOut(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

  • sampleOut(Int): Sampling rate value

bottom of page