mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-17 17:39:56 -04: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)
|
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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user