oa::audio::AudioCaptureChunk

One contiguous run of captured interleaved FP32 frames.

StRust public API

Declaration

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, }
Public Rust declaration.

Public Methods

fn clone(&self) -> AudioCaptureChunk
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &AudioCaptureChunk) -> bool

Public Data Members

interleavedVec<f32>field
sample_rateu32field
channel_countu32field
frame_countu64field
first_frame_indexu64field
presentation_timestamp_usu64field

Public Method Documentation

fn clone( &self ) -> AudioCaptureChunk
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &AudioCaptureChunk ) -> bool
No public source comment is attached to this declaration.