VideoPlayer.GetAudioSampleRate

Declaration

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.


Did you find this page useful? Please give it a rating: