From d194561ab4d3e4d56c6557f750d4584c64a81ae2 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sat, 25 Jun 2022 10:54:27 +0100 Subject: [PATCH] Don't set the initial volume to 0.0 (full volume) if ignore_volume_control is selected -- bad idea! --- player.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/player.c b/player.c index 96e2c1eb..364a8b7e 100644 --- a/player.c +++ b/player.c @@ -2096,8 +2096,6 @@ void *player_thread_func(void *arg) { pthread_setcancelstate(oldState, NULL); double initial_volume = config.airplay_volume; // default - if (config.ignore_volume_control != 0) - initial_volume = 0.0; // set the default to full volume if ignore volume control is on if (conn->initial_airplay_volume_set) // if we have been given an initial volume initial_volume = conn->initial_airplay_volume; // set the default volume to whatever it was before, as stored in the config airplay_volume