symphonia_bundle_mp3/
lib.rs1#![warn(rust_2018_idioms)]
9#![forbid(unsafe_code)]
10#![allow(clippy::comparison_chain)]
13#![allow(clippy::excessive_precision)]
14#![allow(clippy::identity_op)]
15#![allow(clippy::manual_range_contains)]
16
17mod common;
19mod header;
20
21mod demuxer;
23
24#[cfg(any(feature = "mp1", feature = "mp2", feature = "mp3"))]
26mod decoder;
27#[cfg(any(feature = "mp1", feature = "mp2", feature = "mp3"))]
28mod synthesis;
29
30#[cfg(any(feature = "mp1", feature = "mp2"))]
32mod layer12;
33
34#[cfg(feature = "mp1")]
36mod layer1;
37#[cfg(feature = "mp2")]
38mod layer2;
39#[cfg(feature = "mp3")]
40mod layer3;
41
42#[cfg(any(feature = "mp1", feature = "mp2", feature = "mp3"))]
43pub use decoder::MpaDecoder;
44pub use demuxer::MpaReader;
45
46#[deprecated = "use `symphonia_bundle_mp3::MpaDecoder` instead"]
48#[cfg(any(feature = "mp1", feature = "mp2", feature = "mp3"))]
49pub type Mp3Decoder = MpaDecoder;
50
51#[deprecated = "use `symphonia_bundle_mp3::MpaReader` instead"]
52pub type Mp3Reader = MpaReader;