[][src]Function audiopus::packet::bandwidth

pub fn bandwidth<'a, I>(packet: I) -> Result<Bandwidth> where
    I: TryInto<Packet<'a>>, 

Gets width of an Opus packet.

Warning: Empty packet will return Error::EmptyPacket.