[player] Fix missing update of master volume in web interface

Activating/deactivating an output might change the master volume,
therefor send a volume change notification.
This commit is contained in:
chme 2019-09-26 08:11:29 +02:00
parent 5d93fd5042
commit e3edcb5b96

View File

@ -2967,7 +2967,7 @@ player_speaker_set(uint64_t *ids)
ret = commands_exec_sync(cmdbase, speaker_set, NULL, &speaker_set_param);
listener_notify(LISTENER_SPEAKER);
listener_notify(LISTENER_SPEAKER | LISTENER_VOLUME);
return ret;
}
@ -2992,7 +2992,7 @@ player_speaker_enable(uint64_t id)
ret = commands_exec_sync(cmdbase, speaker_enable, NULL, &id);
listener_notify(LISTENER_SPEAKER);
listener_notify(LISTENER_SPEAKER | LISTENER_VOLUME);
return ret;
}
@ -3004,7 +3004,7 @@ player_speaker_disable(uint64_t id)
ret = commands_exec_sync(cmdbase, speaker_disable, NULL, &id);
listener_notify(LISTENER_SPEAKER);
listener_notify(LISTENER_SPEAKER | LISTENER_VOLUME);
return ret;
}