Version: 2019.4
public uint GetAudioSampleRate (ushort trackIndex);

パラメーター

trackIndexIndex of the audio track to query.

戻り値

uint The sampling rate in Hertz.

説明

Gets the audio track sampling rate in Hertz.

For URL sources, this will only be set once the source preparation is completed. See VideoPlayer.Prepare.