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

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Tue Jul 23 06:12:57 PDT 2013


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



More information about the pulseaudio-discuss mailing list