OutputAudioQueue.BufferCompleted Event
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.
Raised when the output audio queue has finished playing a buffer, making it available to be refilled with more audio data and re-enqueued.
public event EventHandler<AudioToolbox.BufferCompletedEventArgs>? BufferCompleted;
member this.BufferCompleted : EventHandler<AudioToolbox.BufferCompletedEventArgs>
Event Type
Remarks
The completed buffer is provided in the event arguments. Handlers typically fill the buffer with the next chunk of audio and enqueue it again with one of the EnqueueBuffer methods to keep playback going.