crabidy/audio-player/src/lib.rs

14 lines
438 B
Rust

mod hls;
// Ogg-Opus needs symphonia's Ogg demuxer plus the bundled libopus decoder, so
// it is the crate's one feature (architecture/build-features.md D6).
#[cfg(feature = "opus")]
mod opus_source;
mod player;
mod player_engine;
mod spectrum_tap;
pub mod windowed_http;
pub use player::{Player, PlayerError};
pub use player_engine::{output_device_names, MediaInfo, PlayerMessage};
pub use spectrum_tap::{SpectrumTap, SPECTRUM_WINDOW};