mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-18 22:05:37 -05:00
bluetooth: unify BlueZ 4 and BlueZ 5 UUID handling
A hashmap is more convenient than a linked list for storing the UUIDs, so change the BlueZ 4 code accordingly. Rename the BlueZ 4 UUID constants to match the BlueZ 5 naming. The only changes to the BlueZ 5 code are the addition of one comment and making another comment a bit clearer.
This commit is contained in:
parent
570288ccc9
commit
52a9ee618f
5 changed files with 38 additions and 81 deletions
|
|
@ -102,7 +102,7 @@ struct pa_bluetooth_device {
|
|||
char *alias;
|
||||
char *address;
|
||||
uint32_t class_of_device;
|
||||
pa_hashmap *uuids;
|
||||
pa_hashmap *uuids; /* char* -> char* (hashmap-as-a-set) */
|
||||
|
||||
pa_bluetooth_transport *transports[PA_BLUETOOTH_PROFILE_COUNT];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue