AudioUnit.SetAudioFormat Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- audioFormat
- AudioStreamBasicDescription
- scope
- AudioUnitScopeType
- audioUnitElement
- UInt32
- Attributes