oa::audio::AudioEncodeProfile

Configuration for one streaming audio encoder.

StRust public API

Declaration

pub struct AudioEncodeProfile { pub codec: AudioCodec, pub sample_rate: u32, pub channel_count: u32, pub frames_per_packet: u32, }
Public Rust declaration.

Public Methods

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

Associated Functions

fn default() -> Self

Public Data Members

codecAudioCodecfield
sample_rateu32field
channel_countu32field
frames_per_packetu32field

Public Method Documentation

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