編輯

共用方式為


AudioUnit.SetAudioFormat Method

Definition

Caution

Use 'SetFormat' instead as it has the ability of returning a status code.

[System.Obsolete("Use 'SetFormat' instead as it has the ability of returning a status code.")]
public void SetAudioFormat (AudioToolbox.AudioStreamBasicDescription audioFormat, AudioUnit.AudioUnitScopeType scope, uint audioUnitElement = 0);
member this.SetAudioFormat : AudioToolbox.AudioStreamBasicDescription * AudioUnit.AudioUnitScopeType * uint32 -> unit

Parameters

audioUnitElement
UInt32
Attributes

Applies to