awedio/sounds/
decoders.rs

1//! Decoders for various audio formats and file types.
2//!
3//! These are normally accessed via
4//! [sounds::open_file][crate::sounds::open_file()].
5#[cfg(feature = "rmp3-mp3")]
6mod mp3;
7#[cfg(feature = "qoa")]
8mod qoa;
9#[cfg(feature = "symphonia")]
10mod symphonia;
11#[cfg(feature = "hound-wav")]
12mod wav;
13
14#[cfg(feature = "rmp3-mp3")]
15pub use mp3::Mp3Decoder;
16#[cfg(feature = "qoa")]
17pub use qoa::QoaDecoder;
18#[cfg(feature = "qoa")]
19pub use qoaudio::DecodeError as QoaDecodeError;
20#[cfg(feature = "symphonia")]
21pub use symphonia::SymphoniaDecoder;
22#[cfg(feature = "hound-wav")]
23pub use wav::WavDecoder;