VideoPlayer.GetAudioSampleRate
public uint GetAudioSampleRate(ushort trackIndex);
Parameters
| trackIndex | Index of the audio track to query. |
Returns
uint The sampling rate in Hertz.
Description 描述
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.