Parent: f65a9c9d21f69942024ea5b9f581533d2788eb2e
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-04-28 23:05:02
Tree: f673f51edb5440a64d18f889087b541cc94429f6
transport: Fix not being able to initialize volume properly In case AVRCP is connected first and media_transport_update_device_volume is called without any media_player being available the volume setting would be lost and Transport.Volume won't be available, so this introduces btd_device_{set,get}_volume helpers which is used to store the volume temporarely so media_player_get_device_volume is able to restore it when the transport is created. Fixes: https://github.com/bluez/bluez/issues/335
Diffstat
| M | profiles/audio/media.c | | | 8 | +++++- - - |
| M | profiles/audio/transport.c | | | 12 | ++++++++++- - |
| M | src/device.c | | | 13 | +++++++++++++ |
| M | src/device.h | | | 3 | +++ |
4 files changed, 31 insertions(+), 5 deletions(-)