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