Contents

AudioQueuePropertyID

Identifiers for audio queue properties.

Declaration

typealias AudioQueuePropertyID = UInt32

Discussion

To receive a notification that a specific audio queue property has changed:

  1. Define a property listener callback, referencing the desired audio queue property ID. Base the callback on the AudioQueuePropertyListenerProc callback function declaration.

  2. Assign the callback to an audio queue using the AudioQueueAddPropertyListener(_:_:_:_:) function.

  3. When you get a property-changed notification, call the AudioQueueGetProperty(_:_:_:_:) function to get the current value of the property.

Topics

Constants

See Also

Constants