switch to rodio backend for playback

This commit is contained in:
Henrik Friedrichsen
2019-03-24 18:58:07 +01:00
parent e0f7b5c156
commit 2d4b18a30b
3 changed files with 6 additions and 6 deletions

View File

@@ -5,4 +5,4 @@ rust:
matrix:
fast_finish: true
before_install:
- sudo apt-get install -y libpulse-dev libdbus-1-dev
- sudo apt-get install -y libasound2-dev libdbus-1-dev

View File

@@ -42,7 +42,7 @@ default-features = false
features = ["pancurses-backend"]
[features]
pulseaudio_backend = ["librespot/pulseaudio-backend"]
rodio_backend = ["librespot/rodio-backend"]
portaudio_backend = ["librespot/portaudio-backend"]
mpris = ["dbus"]
default = ["pulseaudio_backend", "mpris"]
default = ["rodio_backend", "mpris"]

View File

@@ -106,8 +106,8 @@ https://github.com/hrkfdn/ncspot/pull/40.
## Audio backends
By default ncspot is built using the PulseAudio backend.
To make it use the PortAudio backend (e.g. for macOS, *BSD, ..),
you need to recompile ncspot with the `portaudio_backend` feature:
By default ncspot is built using the Rudio backend. To make it use the
PortAudio backend (e.g. *BSD), you need to recompile ncspot with the
`portaudio_backend` feature:
* `cargo run --no-default-features --features portaudio_backend`