pub fn config(init: &[u8]) -> Result<AudioConfig>Expand description
Build a catalog config from an OpusHead. Errors on a malformed or empty buffer.
The catalog rate is the decoder’s 48 kHz output, not the OpusHead’s informational input rate.
pub fn config(init: &[u8]) -> Result<AudioConfig>Build a catalog config from an OpusHead. Errors on a malformed or empty buffer.
The catalog rate is the decoder’s 48 kHz output, not the OpusHead’s informational input rate.