Type Definition libpulse_binding::stream::EventCb
[−]
[src]
type EventCb = extern "C" fn(p: *mut StreamInternal, name: *const c_char, pl: *mut ProplistInternal, userdata: *mut c_void);
A callback for asynchronous meta/policy event messages. Well known event names are
EVENT_REQUEST_CORK
and EVENT_REQUEST_UNCORK
. The set of defined events can be extended
at any time. Also, server modules may introduce additional message types so make sure that your
callback function ignores messages it doesn't know.