Skip to content
Sasha Hilton edited this page Mar 20, 2019 · 24 revisions

librespot supports various audio backends. Multiple backends can be enabled at compile time by enabling the corresponding cargo feature. By default, only Rodio is enabled.

A specific backend can selected at runtime using the --backend switch.

cargo build --features portaudio-backend
target/release/librespot [...] --backend portaudio

The following backends are currently available:

  • Rodio (Default)
  • ALSA
  • PortAudio
  • PulseAudio
  • JACK
  • Pipe
Clone this wiki locally