librespot/audio/src/lib.rs

29 lines
766 B
Rust
Raw Normal View History

2018-02-26 01:50:41 +00:00
#[macro_use]
extern crate futures;
#[macro_use]
extern crate log;
2017-08-03 19:37:04 +00:00
extern crate bit_set;
extern crate byteorder;
extern crate num_bigint;
2018-02-26 01:50:41 +00:00
extern crate num_traits;
2017-08-03 19:37:04 +00:00
extern crate tempfile;
extern crate librespot_core as core;
mod decrypt;
2018-02-26 01:50:41 +00:00
mod fetch;
2017-08-03 19:37:04 +00:00
#[cfg(not(any(feature = "with-tremor", feature = "with-vorbis")))]
mod lewton_decoder;
#[cfg(any(feature = "with-tremor", feature = "with-vorbis"))]
mod libvorbis_decoder;
2017-08-03 19:37:04 +00:00
pub use decrypt::AudioDecrypt;
2018-02-26 01:50:41 +00:00
pub use fetch::{AudioFile, AudioFileOpen};
#[cfg(not(any(feature = "with-tremor", feature = "with-vorbis")))]
2018-02-26 01:50:41 +00:00
pub use lewton_decoder::{VorbisDecoder, VorbisError, VorbisPacket};
#[cfg(any(feature = "with-tremor", feature = "with-vorbis"))]
2018-02-26 01:50:41 +00:00
pub use libvorbis_decoder::{VorbisDecoder, VorbisError, VorbisPacket};