Function

AudioQueuePause

Pauses audio playback or recording.

Declaration

OSStatus AudioQueuePause(AudioQueueRef inAQ);

Parameters

inAQ

The audio queue to pause.

Return Value

A result code. See Result Codes.

Discussion

Pausing an audio queue does not affect buffers or reset the audio queue. To resume playback or recording, call AudioQueueStart.

See Also

Controlling Audio Queues

AudioQueueStart

Begins playing or recording audio.

AudioQueuePrime

Decodes enqueued buffers in preparation for playback.

AudioQueueFlush

Resets an audio queue’s decoder state.

AudioQueueStop

Stops playing or recording audio.

AudioQueueReset

Resets an audio queue.