pub struct AudioTrackSource { /* private fields */ }Implementations§
Source§impl AudioTrackSource
impl AudioTrackSource
pub unsafe fn capture_frame( &self, data: &[i16], sample_rate: u32, nb_channels: u32, nb_frames: usize, userdata: *const SourceContext, on_complete: CompleteCallback, ) -> bool
pub fn clear_buffer(&self)
pub fn audio_options(&self) -> AudioSourceOptions
pub fn set_audio_options(&self, options: &AudioSourceOptions)
Trait Implementations§
Source§impl ExternType for AudioTrackSource
impl ExternType for AudioTrackSource
impl Send for AudioTrackSource
impl Sync for AudioTrackSource
Auto Trait Implementations§
impl !Freeze for AudioTrackSource
impl RefUnwindSafe for AudioTrackSource
impl !Unpin for AudioTrackSource
impl UnwindSafe for AudioTrackSource
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