Skip to content

AudioQueue

Axwabo edited this page May 9, 2026 · 2 revisions

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.

Tip

See also: LazyPlaylist

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

FFmpeg

v1 Guides

Caution

v1 is out of support.

Clone this wiki locally