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;
|
2019-11-01 19:46:28 +00:00
|
|
|
extern crate bytes;
|
2017-08-03 19:37:04 +00:00
|
|
|
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;
|
2018-07-30 11:18:43 +00:00
|
|
|
extern crate aes_ctr;
|
2017-08-03 19:37:04 +00:00
|
|
|
|
2019-09-16 19:00:09 +00:00
|
|
|
extern crate librespot_core;
|
2017-08-03 19:37:04 +00:00
|
|
|
|
|
|
|
mod decrypt;
|
2018-02-26 01:50:41 +00:00
|
|
|
mod fetch;
|
2017-08-03 19:37:04 +00:00
|
|
|
|
2018-02-06 21:50:00 +00:00
|
|
|
#[cfg(not(any(feature = "with-tremor", feature = "with-vorbis")))]
|
2017-08-03 20:22:08 +00:00
|
|
|
mod lewton_decoder;
|
2018-02-06 21:50:00 +00:00
|
|
|
#[cfg(any(feature = "with-tremor", feature = "with-vorbis"))]
|
|
|
|
mod libvorbis_decoder;
|
2017-08-03 20:22:08 +00:00
|
|
|
|
2019-11-01 19:46:28 +00:00
|
|
|
mod range_set;
|
|
|
|
|
2017-08-03 19:37:04 +00:00
|
|
|
pub use decrypt::AudioDecrypt;
|
2019-11-01 19:46:28 +00:00
|
|
|
pub use fetch::{AudioFile, AudioFileOpen, StreamLoaderController};
|
2019-11-07 13:02:53 +00:00
|
|
|
pub use fetch::{READ_AHEAD_BEFORE_PLAYBACK_SECONDS, READ_AHEAD_BEFORE_PLAYBACK_ROUNDTRIPS, READ_AHEAD_DURING_PLAYBACK_SECONDS, READ_AHEAD_DURING_PLAYBACK_ROUNDTRIPS};
|
2017-08-03 20:22:08 +00:00
|
|
|
|
2018-02-06 21:50:00 +00:00
|
|
|
#[cfg(not(any(feature = "with-tremor", feature = "with-vorbis")))]
|
2018-02-26 01:50:41 +00:00
|
|
|
pub use lewton_decoder::{VorbisDecoder, VorbisError, VorbisPacket};
|
2018-02-06 21:50:00 +00:00
|
|
|
#[cfg(any(feature = "with-tremor", feature = "with-vorbis"))]
|
2018-02-26 01:50:41 +00:00
|
|
|
pub use libvorbis_decoder::{VorbisDecoder, VorbisError, VorbisPacket};
|