pub type snd_mixer_event_t = Option<unsafe extern "C" fn(class_: *mut snd_mixer_class_t, mask: c_uint, helem: *mut snd_hctl_elem_t, melem: *mut snd_mixer_elem_t) -> c_int>;
Expand description
\brief Event callback for the mixer class \param class_ Mixer class \param mask Event mask (SND_CTL_EVENT_*) \param helem HCTL element which invoked the event \param melem Mixer element associated to HCTL element \return zero if success, otherwise a negative error value
Aliased Type§
enum snd_mixer_event_t {
None,
Some(unsafe extern "C" fn(_: *mut _snd_mixer_class, _: u32, _: *mut _snd_hctl_elem, _: *mut _snd_mixer_elem) -> i32),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut _snd_mixer_class, _: u32, _: *mut _snd_hctl_elem, _: *mut _snd_mixer_elem) -> i32)
Some value of type T
.