VideoPlayer.GetAudioSampleRate

Switch to Manual
public uint GetAudioSampleRate (ushort trackIndex);

Parameters

trackIndex要查询的音频轨道的索引。

Returns

uint 采样率(以赫兹为单位)。

Description

Gets the audio track sampling rate in Hertz.

对于 URL 源,只有在源准备完成后才会设置。请参阅 VideoPlayer.Prepare