Skip to content

function arrangement_speakers(speaker_arrangement) dsp_extra

std::span<const speaker_type> arrangement_speakers(speaker_arrangement arr) noexcept

Returns the canonical channel list for a speaker arrangement.

Maps a speaker_arrangement to an ordered, immutable sequence of speaker_type values. The returned span references static storage valid for the program lifetime and performs no allocations.

Parameters
arr The speaker arrangement to resolve.
Returns
std::span Ordered channels for the arrangement, or an empty span if unsupported.

Defined at dsp/speaker.hpp:117