From: Mike Brady Date: Sat, 1 Apr 2017 14:20:30 +0000 (+0100) Subject: Don't die if you can't change the volume control -- just report it X-Git-Tag: 3.1.s5~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ebf2476108c5e94f3f4f17fc600b8e072b4fbb8;p=thirdparty%2Fshairport-sync.git Don't die if you can't change the volume control -- just report it --- diff --git a/audio_alsa.c b/audio_alsa.c index e3458cab..fd3ba087 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -913,7 +913,7 @@ static void volume(double vol) { debug(1, "Can't set playback volume accurately to %f dB.", vol); if (snd_mixer_selem_set_playback_dB_all(alsa_mix_elem, vol, -1) != 0) if (snd_mixer_selem_set_playback_dB_all(alsa_mix_elem, vol, 1) != 0) - die("Failed to set playback dB volume"); + debug(1,"Could not set playback dB volume on the mixer."); } } }