#![doc = include_str!("../README.md")]
#![no_std]
#![forbid(unsafe_code)]
#[cfg(any(feature = "std", test))]
extern crate std;
mod bits;
mod dct;
mod error;
mod input;
mod metadata;
mod packet;
mod quantization;
mod stream;
mod synthesis;
mod tables;
pub use error::{Error, InvalidData, UnsupportedData};
pub use metadata::Metadata;
pub use packet::{DecodedPacket, PacketDecoder};
#[cfg(feature = "std")]
pub use stream::Decoder;
pub use stream::{DecoderState, SliceDecoder};
pub const SAMPLES_PER_FRAME: usize = 1152;
pub const MAX_FRAME_BYTES: usize = 0x414;