Struct audio_processor_traits::audio_buffer::VecAudioBuffer [−][src]
pub struct VecAudioBuffer<SampleType> { /* fields omitted */ }Expand description
An owned version of the interleaved buffer implementation. Can be converted onto an
InterleavedAudioBuffer.
Implementations
Get an InterleavedAudioBuffer reference type out this VecAudioBuffer.
Trait Implementations
type SampleType = SampleType
type SampleType = SampleTypeThe type of samples within this buffer.
The number of channels in this buffer
The number of samples in this buffer
Get a slice to the internal data. Will not work with VST adapter Read more
Get a mutable slice to the internal data. Will not work with VST adapter Read more
Get a ref to an INPUT sample in this buffer. Read more
Get a mutable ref to an OUTPUT sample in this buffer Read more
Set an OUTPUT sample in this buffer
Unsafe, no bounds check - Get a ref to an INPUT sample in this buffer Read more
unsafe fn get_unchecked_mut(
&mut self,
channel: usize,
sample: usize
) -> &mut Self::SampleType
unsafe fn get_unchecked_mut(
&mut self,
channel: usize,
sample: usize
) -> &mut Self::SampleTypeUnsafe, no bounds check - Get a mutable ref to an OUTPUT sample in this buffer Read more
Unsafe, no bounds check - Set an OUTPUT sample in this buffer Read more
Shortcut for .slice().chunks(num_channels)
Shortcut for .slice_mut().chunks_mut(num_channels)
Auto Trait Implementations
impl<SampleType> RefUnwindSafe for VecAudioBuffer<SampleType> where
SampleType: RefUnwindSafe, impl<SampleType> Send for VecAudioBuffer<SampleType> where
SampleType: Send, impl<SampleType> Sync for VecAudioBuffer<SampleType> where
SampleType: Sync, impl<SampleType> Unpin for VecAudioBuffer<SampleType> where
SampleType: Unpin, impl<SampleType> UnwindSafe for VecAudioBuffer<SampleType> where
SampleType: UnwindSafe,