Skip to main content

mxr_volume_cb

Type Alias mxr_volume_cb 

Source
pub type mxr_volume_cb = Option<extern "C" fn(userdata: *mut c_void, bay: mxr_bay_uid_t, volume: u8, muted: mxr_tribool_t)>;
Expand description

Names a bay, its combined volume percentage and its mute state.

Aliased Type§

pub enum mxr_volume_cb {
    None,
    Some(extern "C" fn(*mut c_void, mxr_bay_uid_t, u8, mxr_tribool_t)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(*mut c_void, mxr_bay_uid_t, u8, mxr_tribool_t))

Some value of type T.