pub const AV_CHANNEL_ORDER_AMBISONIC: u32 = 3; // 3u32
Expand description
The audio is represented as the decomposition of the sound field into spherical harmonics. Each channel corresponds to a single expansion component. Channels are ordered according to ACN (Ambisonic Channel Number).
The channel with the index n in the stream contains the spherical harmonic of degree l and order m given by @code{.unparsed} l = floor(sqrt(n)), m = n - l * (l + 1). @endcode
Conversely given a spherical harmonic of degree l and order m, the corresponding channel index n is given by @code{.unparsed} n = l * (l + 1) + m. @endcode
Normalization is assumed to be SN3D (Schmidt Semi-Normalization) as defined in AmbiX format $ 2.1.