moq-audio 0.0.23

Native audio encoding/decoding for Media over QUIC
Documentation
//! Subscribe to an encoded audio track and decode it to raw PCM.
//!
//! The decode counterpart to [`encode`](crate::encode), and the mirror of
//! `moq-video`'s [`decode`](https://docs.rs/moq-video) module.
//!
//! Entry points, high to low level:
//! - [`Consumer`] subscribes to a track and hands back decoded
//!   [`Frame`](crate::Frame)s.
//! - [`Decoder`] decodes packets you supply (bring your own payloads) into
//!   [`Decoded`] interleaved `f32` samples.
//!
//! [`Config`] configures [`Consumer`]'s PCM output layout. The lower-level
//! [`Decoder`] emits the codec-native sample rate and channel count from the
//! catalog.

mod consumer;
mod decoded;
mod decoder;

pub use consumer::Consumer;
pub use decoded::Decoded;
pub use decoder::{Config, Decoder};