Type Alias alsa_sys::snd_hctl_callback_t

source ·
pub type snd_hctl_callback_t = Option<unsafe extern "C" fn(hctl: *mut snd_hctl_t, mask: c_uint, elem: *mut snd_hctl_elem_t) -> c_int>;
Expand description

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

Aliased Type§

enum snd_hctl_callback_t {
    None,
    Some(unsafe extern "C" fn(_: *mut _snd_hctl, _: u32, _: *mut _snd_hctl_elem) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.