Don't set the initial volume to 0.0 (full volume) if ignore_volume_control is selected -- bad idea!

This commit is contained in:
Mike Brady
2022-06-25 10:54:27 +01:00
parent f551274a2e
commit d194561ab4
-2
View File
@@ -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