mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 05:34:58 -05:00
Update volume on device reconnect
This commit is contained in:
@@ -1044,6 +1044,8 @@ alsa_device_start(struct output_device *device, int callback_id)
|
|||||||
if (!as)
|
if (!as)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
volume_set(&as->mixer, device->volume);
|
||||||
|
|
||||||
as->state = OUTPUT_STATE_CONNECTED;
|
as->state = OUTPUT_STATE_CONNECTED;
|
||||||
alsa_status(as);
|
alsa_status(as);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user