lib.rs 931 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #[macro_use]
  2. extern crate log;
  3. extern crate byteorder;
  4. extern crate futures;
  5. extern crate shell_words;
  6. #[cfg(feature = "alsa-backend")]
  7. extern crate alsa;
  8. #[cfg(feature = "portaudio-backend")]
  9. extern crate portaudio_rs;
  10. #[cfg(feature = "pulseaudio-backend")]
  11. extern crate libpulse_binding;
  12. #[cfg(feature = "pulseaudio-backend")]
  13. extern crate libpulse_simple_binding;
  14. #[cfg(feature = "jackaudio-backend")]
  15. extern crate jack;
  16. #[cfg(feature = "gstreamer-backend")]
  17. extern crate glib;
  18. #[cfg(feature = "gstreamer-backend")]
  19. extern crate gstreamer as gst;
  20. #[cfg(feature = "gstreamer-backend")]
  21. extern crate gstreamer_app as gst_app;
  22. #[cfg(feature = "gstreamer-backend")]
  23. extern crate zerocopy;
  24. #[cfg(feature = "sdl-backend")]
  25. extern crate sdl2;
  26. extern crate librespot_audio as audio;
  27. extern crate librespot_core;
  28. extern crate librespot_metadata as metadata;
  29. pub mod audio_backend;
  30. pub mod config;
  31. pub mod mixer;
  32. pub mod player;