pub struct AudioData<F: Float + 'static> {
pub interleaved_samples: Vec<F>,
pub sample_rate: u32,
pub num_channels: usize,
pub num_frames: usize,
}Fields§
§interleaved_samples: Vec<F>§sample_rate: u32§num_channels: usize§num_frames: usizeImplementations§
Source§impl<F: Float> AudioData<F>
impl<F: Float> AudioData<F>
pub fn audio_block(&self) -> AudioBlockInterleavedView<'_, F>
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for AudioData<F>
impl<F> RefUnwindSafe for AudioData<F>where
F: RefUnwindSafe,
impl<F> Send for AudioData<F>where
F: Send,
impl<F> Sync for AudioData<F>where
F: Sync,
impl<F> Unpin for AudioData<F>where
F: Unpin,
impl<F> UnwindSafe for AudioData<F>where
F: UnwindSafe,
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