summaryrefslogtreecommitdiff
path: root/emulator
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-04-27 13:14:19 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-04-28 13:05:02 -0700
commitfa7828bddd2164408535a9ac45095564e9ebbeea (patch)
treef673f51edb5440a64d18f889087b541cc94429f6 /emulator
parentf65a9c9d21f69942024ea5b9f581533d2788eb2e (diff)
downloadbluez-fa7828bddd2164408535a9ac45095564e9ebbeea.tar.gz
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 (limited to 'emulator')
0 files changed, 0 insertions, 0 deletions