Hi Mikel,

On Wed, Aug 22, 2012 at 10:08 AM, Mikel Astiz <mikel.astiz....@gmail.com> wrote:
> From: Mikel Astiz <mikel.as...@bmw-carit.de>
>
> Merge hooks into a single callback to avoid duplicated code.

I'm no fan of this one, the idea of parsing a list to know the pointer
type doesn't seem natural to me.
Instead you can keep get_bluetooth_protocol and write a helper to do
the module loading that takes the format string, sink name and role as
input.

Regards,
Frédéric
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to