Platforms to show: All Mac Windows Linux Cross-Platform

AVAudioEngineMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class AVFoundationNode MBS AVFoundation Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The AVAudioEngine class defines a group of connected AVAudioNode objects, known as audio nodes.

You use audio nodes to generate audio signals, process them, and perform audio input and output.

You create each audio node separately and attach it to the audio engine. You can perform all audio node operations during runtime—connecting them, disconnecting them, and removing them—with only minor limitations:

  • Reconnect audio nodes only when they are upstream of a mixer..
  • If you remove an audio node that has differing input and output channel counts, or which is a mixer, the result will likely be a broken graph.

Error Codes

Constant Value Description
ManualRenderingErrorInitialized -80801 An operation that can’t be performed because the engine hasn’t stopped running.
ManualRenderingErrorInvalidMode -80800 An operation that can’t be performed because the engine is not in manual rendering mode or the right variant of it.
ManualRenderingErrorNotRunning -80802 An operation that can’t be performed because the engine hasn’t started running.

Rendering Modes

Constant Value Description
ManualRenderingModeOffline 0 An engine that operates in an offline mode.
ManualRenderingModeRealtime 1 An engine that operates under real-time constraints and doesn't make blocking calls while rendering.

Manual Rendering Status

Constant Value Description
ManualRenderingStatusCannotDoInCurrentContext 2 An operation that can't be performed under current conditions; the client can try again later.
ManualRenderingStatusError -1 A problem that occurred during rendering, resulting in no data being returned.
ManualRenderingStatusInsufficientDataFromInputNode 1 A condition in which not enough input data was returned by the input node to satisfy the render request at the time of the request.
ManualRenderingStatusSuccess 0 A status that indicates that all of the requested data was returned successfully.

This class has no sub classes.

Some properties using for this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes


The items on this page are in the following plugins: MBS AVFoundation Plugin.


AVAudioComponentDescriptionMBS   -   AVAudioEnvironmentDistanceAttenuationParametersMBS


The biggest plugin in space...