AudioQueue.Stop(Boolean) Method

Definition

Stops the AudioQueue.

public AudioToolbox.AudioQueueStatus Stop (bool immediate);
member this.Stop : bool -> AudioToolbox.AudioQueueStatus

Parameters

immediate
Boolean

If true, by the time the function returns, audio would have stopped playing. Otherwise the pending buffers are flushed and audio continues to play or be recorded until then.

Returns

AudioQueueStatus.Ok on success, otherwise the error.

Applies to