oa::audio::AudioCaptureConfig

Configuration for one default-device capture session.

StRust public API

Declaration

pub struct AudioCaptureConfig { pub sample_rate: u32, pub channel_count: u32, pub ring_milliseconds: u32, }
Public Rust declaration.

Public Methods

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

Associated Functions

fn default() -> Self

Public Data Members

sample_rateu32field
channel_countu32field
ring_millisecondsu32field

Public Method Documentation

fn clone( &self ) -> AudioCaptureConfig
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: &AudioCaptureConfig ) -> bool
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.