Merge pull request #943 from uvjustin/update-volume-on-reconnect

Update volume on device reconnect
This commit is contained in:
ejurgensen 2020-04-14 20:12:59 +02:00 committed by GitHub
commit e6ef106065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);