Type Alias alsa_sys::snd_pcm_scope_ops_t
source · pub type snd_pcm_scope_ops_t = _snd_pcm_scope_ops;
Expand description
#SND_PCM_TYPE_METER scope functions
Aliased Type§
struct snd_pcm_scope_ops_t {
pub enable: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope) -> i32>,
pub disable: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>,
pub start: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>,
pub stop: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>,
pub update: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>,
pub reset: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>,
pub close: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>,
}
Fields§
§enable: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope) -> i32>
\brief Enable and prepare it using current params \param scope scope handle
disable: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>
\brief Disable \param scope scope handle
start: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>
\brief PCM has been started \param scope scope handle
stop: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>
\brief PCM has been stopped \param scope scope handle
update: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>
\brief New frames are present \param scope scope handle
reset: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>
\brief Reset status \param scope scope handle
close: Option<unsafe extern "C" fn(_: *mut _snd_pcm_scope)>
\brief PCM is closing \param scope scope handle