AudioQueue.Stop(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.