Skip to content

AudioQueue

Axwabo edited this page Feb 25, 2026 · 1 revision

AudioQueue

This audio processor concatenates providers similarly to ConcatenatingSampleProvider while managing resources and allowing for dynamic addition & skipping.

When a provider ends, it will be followed by the next one (unless if the queue is empty).

You can call the Next method at any time to skip the current provider.

Various extension methods exist to enqueue inputs.

Important

When enqueueing a provider, its WaveFormat must match of the AudioQueue

AudioPlayer extension methods handle format conversion for you.

Before enqueueing a provider in an arbitrary AudioQueue, call ProviderToProcessor.SampleProviderToProcessor(provider).ToFormat(queue.WaveFormat)

Getting Started

Playing Audio

Advanced

Audio Processors

v1 Guides

Caution

v1 will be out of support soon.

Clone this wiki locally