Function

AudioQueueSetProperty

Sets an audio queue property value.

Declaration

OSStatus AudioQueueSetProperty(AudioQueueRef inAQ, AudioQueuePropertyID inID, const void *inData, UInt32 inDataSize);

Parameters

inAQ

The audio queue that you want to set a property value on.

inID

The ID of the property whose value you want to set. See AudioQueuePropertyID.

inData

The property value to set.

inDataSize

The size of the property data.

Return Value

A result code. See Result Codes.

See Also

Manipulating Audio Queue Properties

AudioQueueGetProperty

Gets an audio queue property value.

AudioQueueGetPropertySize

Gets the size of the value of an audio queue property.

AudioQueueAddPropertyListener

Adds a property listener callback to an audio queue.

AudioQueueRemovePropertyListener

Removes a property listener callback from an audio queue.