pub struct AudioEncoderBuilder(/* private fields */);
Implementations§
Source§impl AudioEncoderBuilder
impl AudioEncoderBuilder
pub fn sample_rate(self, sample_rate: i32) -> Self
pub fn channel_layout(self, channel_layout: u64) -> Self
pub fn channel_count(self, channel_count: i32) -> Self
pub fn sample_fmt(self, sample_fmt: AVSampleFormat) -> Self
pub fn thread_count(self, thread_count: i32) -> Self
pub fn thread_type(self, thread_type: i32) -> Self
pub fn bitrate(self, bitrate: i64) -> Self
pub fn buffer_size(self, buffer_size: i64) -> Self
pub fn rc_min_rate(self, rc_min_rate: i64) -> Self
pub fn rc_max_rate(self, rc_max_rate: i64) -> Self
pub fn rc_buffer_size(self, rc_buffer_size: i32) -> Self
pub fn codec_specific_options(self, codec_specific_options: Dictionary) -> Self
pub fn flags(self, flags: i32) -> Self
pub fn flags2(self, flags2: i32) -> Self
pub fn build(self) -> AudioEncoderSettings
Trait Implementations§
Source§impl Clone for AudioEncoderBuilder
impl Clone for AudioEncoderBuilder
Source§fn clone(&self) -> AudioEncoderBuilder
fn clone(&self) -> AudioEncoderBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AudioEncoderBuilder
impl Debug for AudioEncoderBuilder
Source§impl Default for AudioEncoderBuilder
impl Default for AudioEncoderBuilder
Source§fn default() -> AudioEncoderBuilder
fn default() -> AudioEncoderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AudioEncoderBuilder
impl RefUnwindSafe for AudioEncoderBuilder
impl Send for AudioEncoderBuilder
impl !Sync for AudioEncoderBuilder
impl Unpin for AudioEncoderBuilder
impl UnwindSafe for AudioEncoderBuilder
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