pub enum GenericAudioBuffer {
U8(AudioBuffer<u8>),
U16(AudioBuffer<u16>),
U24(AudioBuffer<u24>),
U32(AudioBuffer<u32>),
S8(AudioBuffer<i8>),
S16(AudioBuffer<i16>),
S24(AudioBuffer<i24>),
S32(AudioBuffer<i32>),
F32(AudioBuffer<f32>),
F64(AudioBuffer<f64>),
}
Expand description
A generic audio buffer. TODO: Move to core library with a full API.
Variants§
U8(AudioBuffer<u8>)
U16(AudioBuffer<u16>)
U24(AudioBuffer<u24>)
U32(AudioBuffer<u32>)
S8(AudioBuffer<i8>)
S16(AudioBuffer<i16>)
S24(AudioBuffer<i24>)
S32(AudioBuffer<i32>)
F32(AudioBuffer<f32>)
F64(AudioBuffer<f64>)
Trait Implementations§
source§impl AsAudioBufferRef for GenericAudioBuffer
impl AsAudioBufferRef for GenericAudioBuffer
source§fn as_audio_buffer_ref(&self) -> AudioBufferRef<'_>
fn as_audio_buffer_ref(&self) -> AudioBufferRef<'_>
Get an
AudioBufferRef
reference.Auto Trait Implementations§
impl RefUnwindSafe for GenericAudioBuffer
impl Send for GenericAudioBuffer
impl Sync for GenericAudioBuffer
impl Unpin for GenericAudioBuffer
impl UnwindSafe for GenericAudioBuffer
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