Struct gstreamer_audio_sys::GstAudioSinkClass
source · #[repr(C)]pub struct GstAudioSinkClass {
pub parent_class: GstAudioBaseSinkClass,
pub open: Option<unsafe extern "C" fn(_: *mut GstAudioSink) -> gboolean>,
pub prepare: Option<unsafe extern "C" fn(_: *mut GstAudioSink, _: *mut GstAudioRingBufferSpec) -> gboolean>,
pub unprepare: Option<unsafe extern "C" fn(_: *mut GstAudioSink) -> gboolean>,
pub close: Option<unsafe extern "C" fn(_: *mut GstAudioSink) -> gboolean>,
pub write: Option<unsafe extern "C" fn(_: *mut GstAudioSink, _: gpointer, _: c_uint) -> c_int>,
pub delay: Option<unsafe extern "C" fn(_: *mut GstAudioSink) -> c_uint>,
pub reset: Option<unsafe extern "C" fn(_: *mut GstAudioSink)>,
pub pause: Option<unsafe extern "C" fn(_: *mut GstAudioSink)>,
pub resume: Option<unsafe extern "C" fn(_: *mut GstAudioSink)>,
pub stop: Option<unsafe extern "C" fn(_: *mut GstAudioSink)>,
pub extension: *mut GstAudioSinkClassExtension,
}
Fields§
§parent_class: GstAudioBaseSinkClass
§open: Option<unsafe extern "C" fn(_: *mut GstAudioSink) -> gboolean>
§prepare: Option<unsafe extern "C" fn(_: *mut GstAudioSink, _: *mut GstAudioRingBufferSpec) -> gboolean>
§unprepare: Option<unsafe extern "C" fn(_: *mut GstAudioSink) -> gboolean>
§close: Option<unsafe extern "C" fn(_: *mut GstAudioSink) -> gboolean>
§write: Option<unsafe extern "C" fn(_: *mut GstAudioSink, _: gpointer, _: c_uint) -> c_int>
§delay: Option<unsafe extern "C" fn(_: *mut GstAudioSink) -> c_uint>
§reset: Option<unsafe extern "C" fn(_: *mut GstAudioSink)>
§pause: Option<unsafe extern "C" fn(_: *mut GstAudioSink)>
§resume: Option<unsafe extern "C" fn(_: *mut GstAudioSink)>
§stop: Option<unsafe extern "C" fn(_: *mut GstAudioSink)>
§extension: *mut GstAudioSinkClassExtension
Trait Implementations§
source§impl Clone for GstAudioSinkClass
impl Clone for GstAudioSinkClass
source§fn clone(&self) -> GstAudioSinkClass
fn clone(&self) -> GstAudioSinkClass
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 GstAudioSinkClass
impl Debug for GstAudioSinkClass
impl Copy for GstAudioSinkClass
Auto Trait Implementations§
impl Freeze for GstAudioSinkClass
impl RefUnwindSafe for GstAudioSinkClass
impl !Send for GstAudioSinkClass
impl !Sync for GstAudioSinkClass
impl Unpin for GstAudioSinkClass
impl UnwindSafe for GstAudioSinkClass
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
)