Closed larsimmisch closed 6 months ago
Thanks for the post and for the kind words.
Shairport Sync will not use a mixer with attenuation levels that are not calibrated in decibels (dB). This was a design decision taken early on to ensure that the transfer function -- from airplay volume to mixer attenuation -- was based known characteristics, and not on some arbitrary and unknown transfer function in the mixer itself.
This might be revisited in the future, but I'm afraid it's not a priority right now.
Thank you - this makes sense to me and I mostly wrote this up for documentation.
For me it would have been nice if shairplay-sync
had automatically fallen back to using the software mixer when it detected that the mixer does not support dB steps (after logging an appropriate warning). I'll see if I can come up with a PR but right now, the weather is just way too nice :-)
Let me look into that suggestion -- the fallback, not the weather 😏...
What happened?
First of all, thanks! I ❤️ shairport-sync and I've been using it for years.
On to the problem: I'm running shairport-sync (latest version from git) on a Raspberry Pi 4/Hifiberry AMP2. I use the Apple Remote.app to play music on my kitchen radio. On the server side, I use owntone-server.
When I use the ALSA supplied hardware mixer, I either get silence (with all volumes below 100%) or horrible noise (at 100%).
This is the configuration in
/etc/shairprt-sync.conf
when the problem is observed:The workaround is fairly simple, just commenting out the
mixer_control_name
(and using a software volume control) works.It's not a serious problem, but I'd rather have just one (hardware) volume control.
Relevant log output
System Information.
Configuration Information.
PulseAudio or PipeWire installed?
How did you install Shairport Sync?
Built from source
Check previous issues