pub struct Interleaved<S: 'static> {
pub buffer: &'static mut [S],
pub channels: usize,
/* private fields */
}Expand description
An interleaved linear PCM buffer with samples of type S.
Fields§
§buffer: &'static mut [S]The audio buffer.
channels: usizeTrait Implementations§
Source§impl<S> Data for Interleaved<S>where
S: Sample,
impl<S> Data for Interleaved<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 Interleaved<S>
impl<S> RefUnwindSafe for Interleaved<S>where
S: RefUnwindSafe,
impl<S> Send for Interleaved<S>where
S: Send,
impl<S> Sync for Interleaved<S>where
S: Sync,
impl<S> Unpin for Interleaved<S>where
S: Unpin,
impl<S> !UnwindSafe for Interleaved<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