On Thu, Aug 15, 2013 at 12:37 PM, Tanu Kaskinen
<[email protected]> wrote:
> On Tue, 2013-08-13 at 01:53 -0300, [email protected] wrote:
>> From: João Paulo Rechi Vita <[email protected]>
>>
>> ---
>>  src/modules/bluetooth/bluez4-util.c          |  44 ++++-----
>>  src/modules/bluetooth/bluez4-util.h          |  18 ++--
>>  src/modules/bluetooth/module-bluez4-device.c | 134 
>> +++++++++++++--------------
>>  3 files changed, 98 insertions(+), 98 deletions(-)
>
>> diff --git a/src/modules/bluetooth/bluez4-util.h 
>> b/src/modules/bluetooth/bluez4-util.h
>> index b920545..87c9c11 100644
>> --- a/src/modules/bluetooth/bluez4-util.h
>> +++ b/src/modules/bluetooth/bluez4-util.h
>> @@ -57,15 +57,15 @@ struct pa_bluez4_uuid {
>>      PA_LLIST_FIELDS(pa_bluez4_uuid);
>>  };
>>
>> -enum profile {
>> -    PROFILE_A2DP,
>> -    PROFILE_A2DP_SOURCE,
>> -    PROFILE_HSP,
>> -    PROFILE_HFGW,
>> -    PROFILE_OFF
>> +enum pa_bluez4_profile {
>> +    PA_BLUEZ4_PROFILE_A2DP,
>> +    PA_BLUEZ4_PROFILE_A2DP_SOURCE,
>> +    PA_BLUEZ4_PROFILE_HSP,
>> +    PA_BLUEZ4_PROFILE_HFGW,
>> +    PA_BLUEZ4_PROFILE_OFF
>>  };
>
> Great, I have wanted to do this for a long time, but I have never done
> it, because it's a bit intrusive change. One complaint: the enumeration
> should be typedeffed as pa_bluez4_profile_t.
>

This is the way I did for BlueZ 5, I'll change it here as well and
send an updated version.


-- 
João Paulo Rechi Vita
http://about.me/jprvita
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to