pub type snd_mixer_callback_t = Option<unsafe extern "C" fn(ctl: *mut snd_mixer_t, mask: c_uint, elem: *mut snd_mixer_elem_t) -> c_int>;
Expand description

\brief Mixer callback function \param mixer Mixer handle \param mask event mask \param elem related mixer element (if any) \return 0 on success otherwise a negative error code

Aliased Type§

enum snd_mixer_callback_t {
    None,
    Some(unsafe extern "C" fn(_: *mut _snd_mixer, _: u32, _: *mut _snd_mixer_elem) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut _snd_mixer, _: u32, _: *mut _snd_mixer_elem) -> i32)

Some value of type T.