[pulseaudio-discuss] [PATCH next v0 00/10] bluetooth: Abstract D-Bus inside bluetooth-util
Mikel Astiz
mikel.astiz.oss at gmail.com
Wed Dec 12 04:17:00 PST 2012
From: Mikel Astiz <mikel.astiz at bmw-carit.de>
This patchset moves all D-Bus dependencies from module-bluetooth-device into bluetooth-util, with the following two goals:
(a) Make it easier to implement policy modules, because they would use the same information/API that module-bluetooth-device is using.
(b) Make the transition to BlueZ 5 easier, because the D-Bus details are handled inside bluetooth-util.
The approach is very transport-centric, following the design ideas in BlueZ 5: profile-states are represented in the transport state, the volume control is associated to a transport, etc.
Something desirable but currently not possible was to completely remove the dependency to org.bluez.Audio. It has been left aside for the moment since it probably requires some changes to module-card-restore.
Mikel Astiz (10):
bluetooth: Abstract microphone gain in transport
bluetooth: Abstract speaker gain in transport
bluetooth: Use bluetooth-util for mic/speaker gain control
bluetooth: Move profile_to_string() up
bluetooth: Refactor parsing of profile state changes
bluetooth: Use transport state to update port availability
bluetooth: Abstract transport access types inside bluetooth-util
bluetooth: Refactor dependency to org.bluez.Audio
bluetooth: Use transport state instead of profile states
bluetooth: Remove D-Bus dependency in module-bluetooth-device
src/modules/bluetooth/bluetooth-util.c | 127 +++++++-
src/modules/bluetooth/bluetooth-util.h | 13 +-
src/modules/bluetooth/module-bluetooth-device.c | 413 +++++++++---------------
3 files changed, 281 insertions(+), 272 deletions(-)
--
1.7.11.7
More information about the pulseaudio-discuss
mailing list