Trait gstreamer_audio::subclass::prelude::AudioSinkImplExt [−][src]
pub trait AudioSinkImplExt: ObjectSubclass { fn parent_close(&self, sink: &Self::Type) -> Result<(), LoggableError>; fn parent_delay(&self, sink: &Self::Type) -> u32; fn parent_open(&self, sink: &Self::Type) -> Result<(), LoggableError>; fn parent_prepare(
&self,
sink: &Self::Type,
spec: &mut AudioRingBufferSpec
) -> Result<(), LoggableError>; fn parent_unprepare(&self, sink: &Self::Type) -> Result<(), LoggableError>; fn parent_write(
&self,
sink: &Self::Type,
audio_data: &[u8]
) -> Result<i32, LoggableError>; fn parent_reset(&self, sink: &Self::Type); }
Required methods
fn parent_close(&self, sink: &Self::Type) -> Result<(), LoggableError>
[src]
fn parent_delay(&self, sink: &Self::Type) -> u32
[src]
fn parent_open(&self, sink: &Self::Type) -> Result<(), LoggableError>
[src]
fn parent_prepare(
&self,
sink: &Self::Type,
spec: &mut AudioRingBufferSpec
) -> Result<(), LoggableError>
[src]
&self,
sink: &Self::Type,
spec: &mut AudioRingBufferSpec
) -> Result<(), LoggableError>
fn parent_unprepare(&self, sink: &Self::Type) -> Result<(), LoggableError>
[src]
fn parent_write(
&self,
sink: &Self::Type,
audio_data: &[u8]
) -> Result<i32, LoggableError>
[src]
&self,
sink: &Self::Type,
audio_data: &[u8]
) -> Result<i32, LoggableError>
fn parent_reset(&self, sink: &Self::Type)
[src]
Implementors
impl<T: AudioSinkImpl> AudioSinkImplExt for T
[src]
impl<T: AudioSinkImpl> AudioSinkImplExt for T
[src]fn parent_close(&self, sink: &Self::Type) -> Result<(), LoggableError>
[src]
fn parent_delay(&self, sink: &Self::Type) -> u32
[src]
fn parent_open(&self, sink: &Self::Type) -> Result<(), LoggableError>
[src]
fn parent_prepare(
&self,
sink: &Self::Type,
spec: &mut AudioRingBufferSpec
) -> Result<(), LoggableError>
[src]
&self,
sink: &Self::Type,
spec: &mut AudioRingBufferSpec
) -> Result<(), LoggableError>
fn parent_unprepare(&self, sink: &Self::Type) -> Result<(), LoggableError>
[src]
fn parent_write(
&self,
sink: &Self::Type,
buffer: &[u8]
) -> Result<i32, LoggableError>
[src]
&self,
sink: &Self::Type,
buffer: &[u8]
) -> Result<i32, LoggableError>