pub struct DummyAudioSink;
Trait Implementations§
source§impl AudioSink for DummyAudioSink
impl AudioSink for DummyAudioSink
fn init( &self, _: f32, _: Sender<AudioRenderThreadMsg>, ) -> Result<(), AudioSinkError>
fn init_stream( &self, _: u8, _: f32, _: Box<dyn MediaSocket>, ) -> Result<(), AudioSinkError>
fn play(&self) -> Result<(), AudioSinkError>
fn stop(&self) -> Result<(), AudioSinkError>
fn has_enough_data(&self) -> bool
fn push_data(&self, _: Chunk) -> Result<(), AudioSinkError>
fn set_eos_callback( &self, _: Box<dyn Fn(Box<dyn AsRef<[f32]>>) + Send + Sync + 'static>, )
Auto Trait Implementations§
impl Freeze for DummyAudioSink
impl RefUnwindSafe for DummyAudioSink
impl Send for DummyAudioSink
impl Sync for DummyAudioSink
impl Unpin for DummyAudioSink
impl UnwindSafe for DummyAudioSink
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