switch to rodio backend for playback
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user