Class

AUAudioUnitBus

The AUAudioUnitBus class defines an input or output connection point on an audio unit.

Declaration

class AUAudioUnitBus : NSObject

Topics

Bus Methods and Properties

func setFormat(AVAudioFormat)

Sets the bus’s audio format.

var format: AVAudioFormat

The audio format and channel layout of audio being transferred on the bus.

var isEnabled: Bool

Determines whether the bus is active.

var name: String?

A name for the bus.

var index: Int

The index of this bus in its containing array.

var ownerAudioUnit: AUAudioUnit

The audio unit that owns the bus.

var supportedChannelLayoutTags: [NSNumber]?

An array of audio channel layout tags.

var contextPresentationLatency: TimeInterval

Information about latency in the audio unit’s processing context.

Audio Unit Implementations

These methods and properties are only of interest to audio unit subclasses.

init(format: AVAudioFormat)

Initializes a bus object with a specific format.

var supportedChannelCounts: [NSNumber]?

An array of numbers indicating the supported number of channels for this bus.

var maximumChannelCount: AUAudioChannelCount

The maximum number of channels supported for this bus.

Relationships

Inherits From

Conforms To