pub trait AudioSrcImpl: AudioSrcImplExt + BaseSrcImpl {
fn close(&self, src: &Self::Type) -> Result<(), LoggableError> { ... }
fn delay(&self, src: &Self::Type) -> u32 { ... }
fn open(&self, src: &Self::Type) -> Result<(), LoggableError> { ... }
fn prepare(
&self,
src: &Self::Type,
spec: &mut AudioRingBufferSpec
) -> Result<(), LoggableError> { ... }
fn unprepare(&self, src: &Self::Type) -> Result<(), LoggableError> { ... }
fn read(
&self,
src: &Self::Type,
audio_data: &mut [u8]
) -> Result<(u32, Option<ClockTime>), LoggableError> { ... }
fn reset(&self, src: &Self::Type) { ... }
}