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: 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

View File

@@ -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"]

View File

@@ -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`