Struct gstreamer_audio_sys::GstAudioSrcClass
source · #[repr(C)]pub struct GstAudioSrcClass {
pub parent_class: GstAudioBaseSrcClass,
pub open: Option<unsafe extern "C" fn(_: *mut GstAudioSrc) -> gboolean>,
pub prepare: Option<unsafe extern "C" fn(_: *mut GstAudioSrc, _: *mut GstAudioRingBufferSpec) -> gboolean>,
pub unprepare: Option<unsafe extern "C" fn(_: *mut GstAudioSrc) -> gboolean>,
pub close: Option<unsafe extern "C" fn(_: *mut GstAudioSrc) -> gboolean>,
pub read: Option<unsafe extern "C" fn(_: *mut GstAudioSrc, _: gpointer, _: c_uint, _: *mut GstClockTime) -> c_uint>,
pub delay: Option<unsafe extern "C" fn(_: *mut GstAudioSrc) -> c_uint>,
pub reset: Option<unsafe extern "C" fn(_: *mut GstAudioSrc)>,
pub _gst_reserved: [gpointer; 4],
}
Fields§
§parent_class: GstAudioBaseSrcClass
§open: Option<unsafe extern "C" fn(_: *mut GstAudioSrc) -> gboolean>
§prepare: Option<unsafe extern "C" fn(_: *mut GstAudioSrc, _: *mut GstAudioRingBufferSpec) -> gboolean>
§unprepare: Option<unsafe extern "C" fn(_: *mut GstAudioSrc) -> gboolean>
§close: Option<unsafe extern "C" fn(_: *mut GstAudioSrc) -> gboolean>
§read: Option<unsafe extern "C" fn(_: *mut GstAudioSrc, _: gpointer, _: c_uint, _: *mut GstClockTime) -> c_uint>
§delay: Option<unsafe extern "C" fn(_: *mut GstAudioSrc) -> c_uint>
§reset: Option<unsafe extern "C" fn(_: *mut GstAudioSrc)>
§_gst_reserved: [gpointer; 4]
Trait Implementations§
source§impl Clone for GstAudioSrcClass
impl Clone for GstAudioSrcClass
source§fn clone(&self) -> GstAudioSrcClass
fn clone(&self) -> GstAudioSrcClass
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