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 moresource§impl Debug for GstAudioSrcClass
impl Debug for GstAudioSrcClass
impl Copy for GstAudioSrcClass
Auto Trait Implementations§
impl Freeze for GstAudioSrcClass
impl RefUnwindSafe for GstAudioSrcClass
impl !Send for GstAudioSrcClass
impl !Sync for GstAudioSrcClass
impl Unpin for GstAudioSrcClass
impl UnwindSafe for GstAudioSrcClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)