Table of Contents

Method GetAudioSampleRate

Namespace
RenderHeads.Media.AVProVideo
Assembly
_AVProVideo.Extensions.VideoPlayer.dll

GetAudioSampleRate(ushort)

VideoPlayer:

  • Returns the audio track sampling rate in Hertz. AVPro:
  • Returns the unity AudioSettings global sampleRate
public uint GetAudioSampleRate(ushort trackIndex)

Parameters

trackIndex ushort

index of the audio track to query

Returns

uint

uint> The sampling rate in Hertz.