pub struct InterleavedBytes<S: 'static> {
pub buffer: &'static mut [u8],
pub channels: usize,
/* private fields */
}Expand description
An interleaved linear PCM buffer with samples stored as plain bytes.
Fields§
§buffer: &'static mut [u8]The audio buffer.
channels: usizeTrait Implementations§
Source§impl<S> Data for InterleavedBytes<S>where
S: Sample,
impl<S> Data for InterleavedBytes<S>where
S: Sample,
Source§fn does_stream_format_match(stream_format: &StreamFormat) -> bool
fn does_stream_format_match(stream_format: &StreamFormat) -> bool
Check whether the stream format matches this type of data.
Source§unsafe fn from_input_proc_args(
frames: u32,
io_data: *mut AudioBufferList,
) -> Self
unsafe fn from_input_proc_args( frames: u32, io_data: *mut AudioBufferList, ) -> Self
We must be able to construct Self from arguments given to the
input_proc. Read moreAuto Trait Implementations§
impl<S> Freeze for InterleavedBytes<S>
impl<S> RefUnwindSafe for InterleavedBytes<S>where
S: RefUnwindSafe,
impl<S> Send for InterleavedBytes<S>where
S: Send,
impl<S> Sync for InterleavedBytes<S>where
S: Sync,
impl<S> Unpin for InterleavedBytes<S>where
S: Unpin,
impl<S> !UnwindSafe for InterleavedBytes<S>
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