Struct gstreamer_audio_sys::GstAudioSinkClass[][src]

#[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: GstAudioBaseSinkClassopen: 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.