Cargo Features

openlibspot-playback has no features set by default.

[dependencies]
openlibspot-playback = { version = "0.6.0", features = ["alsa-backend", "portaudio-backend", "pulseaudio-backend", "jackaudio-backend", "rodio-backend", "rodiojack-backend", "sdl-backend", "gstreamer-backend", "passthrough-decoder"] }
alsa-backend = alsa

Affects mixer::alsamixer

portaudio-backend = portaudio-rs
pulseaudio-backend = libpulse-binding, libpulse-simple-binding
jackaudio-backend = jack
rodio-backend = cpal, rodio

Affects rodio::mk_rodio

rodiojack-backend = rodio

Enables jack of cpal

Affects rodio::mk_rodiojack

sdl-backend = sdl2
gstreamer-backend = glib, gstreamer, gstreamer-app, gstreamer-audio
passthrough-decoder = ogg

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

alsa alsa-backend?

Enables alsa ^0.8.1

Backends

portaudio-rs portaudio-backend?
libpulse-binding pulseaudio-backend?
libpulse-simple-binding pulseaudio-backend?
jack jackaudio-backend?
sdl2 sdl-backend?

Enables sdl2 ^0.35

gstreamer gstreamer-backend?

Enables gstreamer ^0.21.2

gstreamer-app gstreamer-backend?

Enables gstreamer-app ^0.21.2

gstreamer-audio gstreamer-backend?

Enables gstreamer-audio ^0.21.2

glib gstreamer-backend?

Enables glib ^0.18.1

rodio rodio-backend? rodiojack-backend?

Enables rodio ^0.17.1

Rodio dependencies

cpal rodio-backend? rodiojack-backend?
ogg passthrough-decoder?

Enables ogg

Legacy Ogg container decoder for the passthrough decoder