hifiberry / hifiberry-os

Linux distribution optimized for audio playback
MIT License
987 stars 125 forks source link

Airplay volume and Beocreate #486

Closed borkog closed 9 months ago

borkog commented 9 months ago

Describe the bug

Volume does not get updated to the source of the music. This way when you skip song it snaps to source volume

Same thing on Airplay, Bluetooth or Spotify.

HiFiBerryOS version 20230404

HiFiBerry sound card Beocreate 4ch

To Reproduce Play some music from iPhone (latest IOS) over airplay, turn down volume low from the phone, got to the browser increase volume, press next.. volume goes to low.

Same thing happens over bluetooth

However .. very old IOS tablet does not jumps with volume (airplay). New IOS sends volume level info when new song starts (still skips if you change the volume from the phone)

Expected behavior

Hifi berry should send volume level data back to source that plays the song

borkog commented 9 months ago

OK... So this is what I figured out

I would recommend the following /etc/shairport-sync.conf

under general add this to meke life easier to Beocreate AMP users (volume increase should be linear like this as a default) volume_control_profile = "flat";

under alsa add this because it looks like that mixer goes to sleep on next song (this also should be by default) disable_standby_mode = "auto"; This also caused a "click" sometimes.

Problem of not updating volume "upstream" remains ... I will try to dig a bit more but I my knowledge is limited.