pub enum Buffers<'a> {
SInt8 {
output: &'a mut [i8],
input: &'a [i8],
},
SInt16 {
output: &'a mut [i16],
input: &'a [i16],
},
SInt24 {
output: &'a mut [u8],
input: &'a [u8],
},
SInt32 {
output: &'a mut [i32],
input: &'a [i32],
},
Float32 {
output: &'a mut [f32],
input: &'a [f32],
},
Float64 {
output: &'a mut [f64],
input: &'a [f64],
},
}
Expand description
The input/output audio buffers.
Variants§
SInt8
Input/output buffers of 8-bit signed integers.
SInt16
Input/output buffers of 16-bit signed integers.
SInt24
Input/output buffers of 24-bit signed integers.
These buffers are presented as raw bytes. Each sample in a frame is 3 bytes.
The endianness will always be in the host’s native byte order.
SInt32
Input/output buffers of 32-bit signed integers.
Float32
Input/output buffers of 32-bit floating point numbers.
Float64
Input/output buffers of 64-bit floating point numbers.
Trait Implementations§
source§impl<'a> PartialEq for Buffers<'a>
impl<'a> PartialEq for Buffers<'a>
impl<'a> StructuralPartialEq for Buffers<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Buffers<'a>
impl<'a> Send for Buffers<'a>
impl<'a> Sync for Buffers<'a>
impl<'a> Unpin for Buffers<'a>
impl<'a> !UnwindSafe for Buffers<'a>
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