Update volume on device reconnect

This commit is contained in:
Justin Wong 2020-04-14 14:09:07 +08:00
parent 805cd16442
commit 938a19ff15
1 changed files with 2 additions and 0 deletions

View File

@ -1044,6 +1044,8 @@ alsa_device_start(struct output_device *device, int callback_id)
if (!as)
return -1;
volume_set(&as->mixer, device->volume);
as->state = OUTPUT_STATE_CONNECTED;
alsa_status(as);