Documentation

Unity Engine

Unity Engine

GetSourceAudioSampleRate(ushort)

Sample rate of the specified audio track.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public uint GetSourceAudioSampleRate(ushort audioTrackIdx)

Parameters

audioTrackIdx

Index of the audio track to query.

Returns

Type

Description

uintSample rate in Hertz.