ドキュメント

Unity Engine

Unity Engine

GetAudioSampleRate(ushort)

Gets the audio track sampling rate in Hertz.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public uint GetAudioSampleRate(ushort trackIndex)

Parameters

trackIndex

Index of the audio track to query.

Returns

Type

Description

uintThe sampling rate in Hertz.

Remarks

For URL sources, this will only be set once the source preparation is completed. See VideoPlayer.Prepare.