mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 07:05:57 -05:00
Update volume on device reconnect
This commit is contained in:
parent
805cd16442
commit
938a19ff15
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user