Merge pull request #1461 from whatdoineed2do/player-missing-listener-event-on-device-fail

[player] send volume event when a device fails
This commit is contained in:
Christian Meffert 2022-05-07 08:24:45 +02:00 committed by GitHub
commit 6dbd90ad7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1506,7 +1506,7 @@ device_streaming_cb(struct output_device *device, enum output_device_state statu
// We don't do this in the other cb's because they are triggered by a command
// and thus the update should be done as part of the command completion (which
// can better determine which type of listener event to use)
status_update(player_state, LISTENER_SPEAKER);
status_update(player_state, LISTENER_SPEAKER | LISTENER_VOLUME);
}
static void