Function ogg_opus::decode[][src]

pub fn decode<T: Read + Seek, const TARGET_SPS: u32>(
    data: T
) -> Result<(Vec<i16>, PlayData), Error>
Expand description

Reads audio from Ogg Opus, note: it only can read from the ones produced by itself, this is not ready for anything more, third return is final range just available while testing, otherwise it is a 0