Change volume limit of PCM

  • I'd like to set the PCM volume to 0dB and set that same value as the upper limit. Right now the upper limit is 4dB. The thing is: I use Spotify Connect Web, and I want to be able to control the volume with it, without risking to clip the signal. Here is what I tried:

    Code
    amixer sset 'PCM' 0dB
    alsactl -f /storage/.config/sound.conf store


    Then I opened the sound.conf file and edited the range and dbmax. However, it seems to ignore the sound.conf altogether. It boots with the volume at -1.31dB and the maximum is still 4dB. This surprises me, as I successfully used this method on another Libreelec installation with a HiFiBerry sound card to set the analogue mixer to -6dB, and it is persistent across reboots. Any ideas?

    Edited once, last by makruiten (December 18, 2016 at 10:34 AM).