bluez5: add hardware volume support

Add necessary apis to bluez transport.
Add A2DP(AVRCP) absolute volume support. Source volume can only update to adapter node but not from due to AG nodes don't have route.
Since A2DP/HSP/HFP volume is already percentage itself, it has been mapped to pulseaudio volume then converting to linear volume.
This commit is contained in:
Huang-Huang Bao 2021-04-15 11:39:49 +08:00
parent f27ad659f8
commit 80f6ddf526
No known key found for this signature in database
GPG key ID: 33C3271387A13D1B
4 changed files with 508 additions and 64 deletions

View file

@ -1,4 +1,4 @@
bluez5_deps = [ dbus_dep, sbc_dep, bluez_dep ]
bluez5_deps = [ mathlib, dbus_dep, sbc_dep, bluez_dep ]
foreach dep: bluez5_deps
if not dep.found()
subdir_done()