Open lmore377 opened 6 months ago
Bit of a hacky workaround, I changed line 59 in playback/src/mixer/alsamixer.rs to
let (min_millibel, max_millibel) = if false
and that in combination with -e 100
makes volume control work as expected.
Obviously it should not crash. Best to make it gracefully handle devices like this and default to some sane value.
Describe the bug I'd like to use hardware volume control but my system uses PipeWire. I saw that there's a virtual pipewire device in
aplay -L
so I tried setting that as the mixer device/control but librespot just crashes withCould not get Alsa softvol dB range
.To reproduce Steps to reproduce the behavior:
librespot
with-B alsa -m alsa -S "pipewire" -T "Master"
Log
Host (what you are running
librespot
on):Additional Information: If it helps, here's the output of
amixer