Instance Property

isInputEnabled

A flag enabling audio input from the unit.

Declaration

var isInputEnabled: Bool { get set }

Discussion

The default value is false.

If your audio unit desires input audio, this property must be set to true and the value of canPerformInput must also be true.

See Also

Input/Output Units

var canPerformInput: Bool

Determines whether the I/O device can perform input.

var canPerformOutput: Bool

Determines whether the I/O device can perform output.

var isOutputEnabled: Bool

A flag enabling audio output from the unit.

var inputHandler: AUInputHandler?

The block that the output unit will call to notify when input is available.

var outputProvider: AURenderPullInputBlock?

The block that the output unit will call to get audio to send to the output.

var deviceID: AUAudioObjectID

Gets the I/O hardware device.

func setDeviceID(AUAudioObjectID)

Sets the I/O hardware device.

func startHardware()

Starts the audio hardware.

func stopHardware()

Stops the audio hardware.