[pulseaudio-discuss] [PATCH 0/4] bluetooth: Port names based on form factor
Mikel Astiz
mikel.astiz.oss at gmail.com
Tue Feb 19 01:33:46 PST 2013
From: Mikel Astiz <mikel.astiz at bmw-carit.de>
This patchset considers the device's form factor (Bluetooth device class) in order to decide the name and description of the ports.
The approach assumes the form factor of a paired device will remain constant, which seems to be the case in any real-life scenario.
Patch 4/4 simplifies the core by removing dynamic port creation, recently added due to Bluetooth's interests. However, now that we have a slightly different interpretation of ports, this core extension should be reconsidered.
Mikel Astiz (4):
bluetooth: Use enum to represent form factors
bluetooth: Add specific form factor for phones
bluetooth: Use form factor to set port name and description
Revert "card: Support adding ports dynamically"
src/modules/bluetooth/bluetooth-util.c | 74 +++++++++++++-----
src/modules/bluetooth/bluetooth-util.h | 16 +++-
src/modules/bluetooth/module-bluetooth-device.c | 99 ++++++++++++++++++++++---
src/modules/module-card-restore.c | 43 -----------
src/pulsecore/card.c | 19 -----
src/pulsecore/card.h | 1 -
src/pulsecore/core.h | 1 -
7 files changed, 159 insertions(+), 94 deletions(-)
--
1.8.1
More information about the pulseaudio-discuss
mailing list