pub struct AudioCaptureChunk {
pub interleaved: Vec<f32>,
pub sample_rate: u32,
pub channel_count: u32,
pub frame_count: u64,
pub first_frame_index: u64,
pub presentation_timestamp_us: u64,
}Expand description
One contiguous run of captured interleaved FP32 frames.
Fields§
§interleaved: Vec<f32>§sample_rate: u32§channel_count: u32§frame_count: u64§first_frame_index: u64§presentation_timestamp_us: u64Process-monotonic presentation timestamp in microseconds.
Trait Implementations§
Source§impl Clone for AudioCaptureChunk
impl Clone for AudioCaptureChunk
Source§impl Debug for AudioCaptureChunk
impl Debug for AudioCaptureChunk
Source§impl PartialEq for AudioCaptureChunk
impl PartialEq for AudioCaptureChunk
impl StructuralPartialEq for AudioCaptureChunk
Auto Trait Implementations§
impl Forget for AudioCaptureChunk
impl Freeze for AudioCaptureChunk
impl Move for AudioCaptureChunk
impl RefUnwindSafe for AudioCaptureChunk
impl Send for AudioCaptureChunk
impl Sync for AudioCaptureChunk
impl Unpin for AudioCaptureChunk
impl UnsafeUnpin for AudioCaptureChunk
impl UnwindSafe for AudioCaptureChunk
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