switch to rodio backend for playback
This commit is contained in:
@@ -5,4 +5,4 @@ rust:
|
|||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get install -y libpulse-dev libdbus-1-dev
|
- sudo apt-get install -y libasound2-dev libdbus-1-dev
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ default-features = false
|
|||||||
features = ["pancurses-backend"]
|
features = ["pancurses-backend"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
pulseaudio_backend = ["librespot/pulseaudio-backend"]
|
rodio_backend = ["librespot/rodio-backend"]
|
||||||
portaudio_backend = ["librespot/portaudio-backend"]
|
portaudio_backend = ["librespot/portaudio-backend"]
|
||||||
mpris = ["dbus"]
|
mpris = ["dbus"]
|
||||||
default = ["pulseaudio_backend", "mpris"]
|
default = ["rodio_backend", "mpris"]
|
||||||
|
|||||||
@@ -106,8 +106,8 @@ https://github.com/hrkfdn/ncspot/pull/40.
|
|||||||
|
|
||||||
## Audio backends
|
## Audio backends
|
||||||
|
|
||||||
By default ncspot is built using the PulseAudio backend.
|
By default ncspot is built using the Rudio backend. To make it use the
|
||||||
To make it use the PortAudio backend (e.g. for macOS, *BSD, ..),
|
PortAudio backend (e.g. *BSD), you need to recompile ncspot with the
|
||||||
you need to recompile ncspot with the `portaudio_backend` feature:
|
`portaudio_backend` feature:
|
||||||
|
|
||||||
* `cargo run --no-default-features --features portaudio_backend`
|
* `cargo run --no-default-features --features portaudio_backend`
|
||||||
|
|||||||
Reference in New Issue
Block a user