Function wasapi::make_channelmasks

source ยท
pub fn make_channelmasks(channels: usize) -> Vec<u32>
Expand description

Return a vector with suggested channel masks for the given number of channels. Used to find a format that a device accepts in exclusive mode. The values are sorted according to how likely they are to be accepted, with the most likely first.