Instance Property

outputProvider

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

Declaration

var outputProvider: AURenderPullInputBlock? { get set }

Discussion

This block must be set if output is enabled.

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 isInputEnabled: Bool

A flag enabling audio input from the unit.

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 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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software