Function opus::packet::get_nb_channels [] [src]

pub fn get_nb_channels(packet: &[u8]) -> Result<Channels>

Get the number of channels from an Opus packet.