[pulseaudio-discuss] A question on hal-detect module source code

Bu, Long long.bu at intel.com
Tue Feb 24 19:45:24 PST 2009


Hi,
	I am reading its code and wondering why the filter_cb is needed to handle ACLAdded 
	And ACLRemoved etc signals.  Since there are
		libhal_ctx_set_device_added(u->context, device_added_cb);
    		libhal_ctx_set_device_removed(u->context, device_removed_cb);
		libhal_ctx_set_device_new_capability(u->context, new_capability_cb);
	    libhal_ctx_set_device_lost_capability(u->context, lost_capability_cb);
	in pa__init, and the callbacks will handle for those signals.

Regards.
Long


More information about the pulseaudio-discuss mailing list