mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
33 lines
1,007 B
Rust
33 lines
1,007 B
Rust
#[macro_use]
|
|
extern crate futures;
|
|
#[macro_use]
|
|
extern crate log;
|
|
|
|
extern crate bit_set;
|
|
extern crate byteorder;
|
|
extern crate bytes;
|
|
extern crate num_bigint;
|
|
extern crate num_traits;
|
|
extern crate tempfile;
|
|
extern crate aes_ctr;
|
|
|
|
extern crate librespot_core;
|
|
|
|
mod decrypt;
|
|
mod fetch;
|
|
|
|
#[cfg(not(any(feature = "with-tremor", feature = "with-vorbis")))]
|
|
mod lewton_decoder;
|
|
#[cfg(any(feature = "with-tremor", feature = "with-vorbis"))]
|
|
mod libvorbis_decoder;
|
|
|
|
mod range_set;
|
|
|
|
pub use decrypt::AudioDecrypt;
|
|
pub use fetch::{AudioFile, AudioFileOpen, StreamLoaderController};
|
|
pub use fetch::{READ_AHEAD_BEFORE_PLAYBACK_SECONDS, READ_AHEAD_BEFORE_PLAYBACK_ROUNDTRIPS, READ_AHEAD_DURING_PLAYBACK_SECONDS, READ_AHEAD_DURING_PLAYBACK_ROUNDTRIPS};
|
|
|
|
#[cfg(not(any(feature = "with-tremor", feature = "with-vorbis")))]
|
|
pub use lewton_decoder::{VorbisDecoder, VorbisError, VorbisPacket};
|
|
#[cfg(any(feature = "with-tremor", feature = "with-vorbis"))]
|
|
pub use libvorbis_decoder::{VorbisDecoder, VorbisError, VorbisPacket};
|