[PATCH 48/56] bluetooth: Create sink for BlueZ 5 cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2013-07-12 at 15:07 -0300, jprvita at gmail.com wrote:
> +/* Run from main thread */
> +static const char *pa_bluetooth_profile_to_string(enum profile profile) {
> +    switch(profile) {
> +        case PROFILE_A2DP_SINK:
> +            return "a2dp_sink";
> +        case PROFILE_A2DP_SOURCE:
> +            return "a2dp_source";
> +        case PROFILE_OFF:
> +        default:

Having a default section here prevents useful compiler warnings.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux