pub struct AudioMixer<'a, P: MediaStore> { /* private fields */ }Implementations§
Source§impl<'a, P: MediaStore> AudioMixer<'a, P>
impl<'a, P: MediaStore> AudioMixer<'a, P>
pub fn new(timeline: &'a AudioTimeline, provider: &'a P) -> Self
pub fn mix_range( &self, start_sample: u64, frames: usize, ) -> Result<AudioBuffer, MediaError>
pub fn mix_into( &self, start_sample: u64, output: &mut [Vec<f32>], ) -> Result<(), MediaError>
Auto Trait Implementations§
impl<'a, P> Freeze for AudioMixer<'a, P>
impl<'a, P> RefUnwindSafe for AudioMixer<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for AudioMixer<'a, P>
impl<'a, P> Sync for AudioMixer<'a, P>
impl<'a, P> Unpin for AudioMixer<'a, P>
impl<'a, P> UnsafeUnpin for AudioMixer<'a, P>
impl<'a, P> UnwindSafe for AudioMixer<'a, P>where
P: RefUnwindSafe,
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