[pulseaudio-discuss] [PATCH v5 39/39] bluetooth: Revive module-bluetooth-discover

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Fri Sep 27 06:00:25 PDT 2013


On Tue, 2013-09-24 at 16:16 -0700, Fox, Kevin M wrote:
> Is there a reason that the struct is:
> +struct userdata {
> +    pa_module *bluez5_module;
> +    pa_module *bluez4_module;
> +};
> 
> and not:
> +struct userdata {
> +    pa_module *bluez_module;
> +};
> 
> The code might be cleaner looking with the latter struct.

Yes, there is a reason for the code being how it is. We want
module-bluetooth-discover to load two modules, if support for both
bluez4 and bluez5 is compiled in, but in your suggestion only one module
can be loaded.

-- 
Tanu



More information about the pulseaudio-discuss mailing list