[pulseaudio-discuss] [RFC next v0 07/11] bluetooth: Add device removed callback to backend

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Wed Jun 26 05:52:58 PDT 2013


On Wed, 2013-05-15 at 10:46 +0200, Mikel Astiz wrote:
> +typedef void (*pa_bt_backend_transport_removed_cb)(void *bp, pa_bluetooth_transport *t);
> +
>  struct pa_bluetooth_backend {
> +    pa_bt_backend_transport_removed_cb transport_removed;
>  };

I almost forgot to complain about this... I think typedeffing the
callback type doesn't bring any benefits here, it only makes it harder
to figure out the interface of transport_removed.

-- 
Tanu



More information about the pulseaudio-discuss mailing list