Edit

Share via


AUAudioUnitBus.SetFormat(AVAudioFormat, NSError) Method

Definition

Sets configuration details about the supported channels and formats of audio data on this bus.

[Foundation.Export("setFormat:error:")]
public virtual bool SetFormat (AVFoundation.AVAudioFormat format, out Foundation.NSError outError);
abstract member SetFormat : AVFoundation.AVAudioFormat *  -> bool
override this.SetFormat : AVFoundation.AVAudioFormat *  -> bool

Parameters

format
AVAudioFormat

A description of the audio format for the bus.

outError
NSError

A location to which to record success or failure.

This parameter can be null.

Returns

Attributes

Applies to