mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-06 03:50:06 +02:00
add support for jack audio connection kit
This is initial support for JACK. It creates ports at startup and keeps it connected while librespot is running. So when librespot playback is stoped it writes silence (zeroes). It uses jack crate (rust-jack) which needs libjack. To compile in jack support use --features jackaudio-backend. And run librespot with --backend jackaudio.
This commit is contained in:
parent
8971d3aa68
commit
adeb22b2f3
4 changed files with 91 additions and 0 deletions
|
@ -34,6 +34,9 @@ extern crate portaudio_rs;
|
|||
#[cfg(feature = "libpulse-sys")]
|
||||
extern crate libpulse_sys;
|
||||
|
||||
#[cfg(feature = "jackaudio-backend")]
|
||||
extern crate jack;
|
||||
|
||||
pub mod audio_backend;
|
||||
pub mod discovery;
|
||||
pub mod keymaster;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue