pub fn map_vorbis_channel(num_channels: u8, ch: usize) -> usize
Expand description

Map a Vorbis channel index to an audio buffer channel index given the channel map implied by the total number of channels.

See channel map as defined in section 4.3.9 of the Vorbis I specification.