diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-08-20 10:39:30 -0700 |
---|---|---|
committer | Igor Kovalenko <igor.v.kovalenko@gmail.com> | 2021-02-23 06:54:39 +0000 |
commit | 709909a1fca31e9a00883e724c533832a4d4349d (patch) | |
tree | 2b24154c808fffb8fa9233543dd5efc1a81057e6 /src/modules/bluetooth/bluez5-util.h | |
parent | bca4c22832d3acbe67d84fcf8b67150ec75ee913 (diff) | |
download | pulseaudio-709909a1fca31e9a00883e724c533832a4d4349d.tar.gz |
bluetooth: use consistent profile names
The PA_BLUETOOTH_PROFILE names should mirror the PA_BLUETOOTH_UUID
names using profile_function instead of randomly made up names. Fix
this with the transformation:
PA_BLUETOOTH_PROFILE_HEADSET_HEAD_UNIT -> PA_BLUETOOTH_PROFILE_HSP_HS
PA_BLUETOOTH_PROFILE_HEADSET_AUDIO_GATEWAY -> PA_BLUETOOTH_PROFILE_HFP_AG
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
---
v4: update for PA 11.0
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/491>
Diffstat (limited to 'src/modules/bluetooth/bluez5-util.h')
-rw-r--r-- | src/modules/bluetooth/bluez5-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/bluetooth/bluez5-util.h b/src/modules/bluetooth/bluez5-util.h index dbeb917c8..861800500 100644 --- a/src/modules/bluetooth/bluez5-util.h +++ b/src/modules/bluetooth/bluez5-util.h @@ -70,8 +70,8 @@ typedef enum pa_bluetooth_hook { typedef enum profile { PA_BLUETOOTH_PROFILE_A2DP_SINK, PA_BLUETOOTH_PROFILE_A2DP_SOURCE, - PA_BLUETOOTH_PROFILE_HEADSET_HEAD_UNIT, - PA_BLUETOOTH_PROFILE_HEADSET_AUDIO_GATEWAY, + PA_BLUETOOTH_PROFILE_HSP_HS, + PA_BLUETOOTH_PROFILE_HFP_AG, PA_BLUETOOTH_PROFILE_OFF } pa_bluetooth_profile_t; #define PA_BLUETOOTH_PROFILE_COUNT PA_BLUETOOTH_PROFILE_OFF |