balena-io-experimental / balena-sound

Build a single or multi-room streamer for an existing audio device using a Raspberry Pi! Supports Bluetooth, Airplay and Spotify Connect
https://balena.io/blog/turn-your-old-speakers-or-hi-fi-into-bluetooth-receivers-using-only-a-raspberry-pi/
MIT License
2.39k stars 427 forks source link

spotify: Add volume control option #638

Open timhudson opened 1 year ago

timhudson commented 1 year ago

This commit introduces the option to choose the volume control method for Spotify playback by adding a new environment variable SOUND_SPOTIFY_VOLUME_CTRL. Users can now set the volume control method to cubic, fixed, linear, or log. The default value is set to linear to maintain backwards compatibility with the currently set value.

Additionally, the default value for SOUND_SPOTIFY_BITRATE has been updated to be wrapped in backticks for better readability.

Change-type: minor