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
Trait Implementations
Source§impl Clone for _snd_pcm_scope_ops
impl Clone for _snd_pcm_scope_ops
Source§fn clone(&self) -> _snd_pcm_scope_ops
fn clone(&self) -> _snd_pcm_scope_ops
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more