bluetooth: unify BlueZ 4 and BlueZ 5 profile constant names

This should make it slightly easier to copy code between BlueZ 4 and
BlueZ 5.
This commit is contained in:
Tanu Kaskinen 2016-08-07 18:45:53 +03:00
parent 52a9ee618f
commit 15e3d828dd
3 changed files with 53 additions and 53 deletions

View file

@ -43,10 +43,10 @@ typedef struct pa_bluez4_transport pa_bluez4_transport;
struct userdata;
typedef enum pa_bluez4_profile {
PA_BLUEZ4_PROFILE_A2DP,
PA_BLUEZ4_PROFILE_A2DP_SINK,
PA_BLUEZ4_PROFILE_A2DP_SOURCE,
PA_BLUEZ4_PROFILE_HSP,
PA_BLUEZ4_PROFILE_HFGW,
PA_BLUEZ4_PROFILE_HEADSET_HEAD_UNIT,
PA_BLUEZ4_PROFILE_HEADSET_AUDIO_GATEWAY,
PA_BLUEZ4_PROFILE_OFF
} pa_bluez4_profile_t;