pub enum AudioCodecOptions {
Opus(OpusOptions),
Aac(AacOptions),
Mp3(Mp3Options),
Flac(FlacOptions),
}Expand description
Per-codec encoding options for audio.
The variant must match the codec passed to
AudioEncoderBuilder::audio_codec(). A mismatch is silently ignored
(the options are not applied).
Variants§
Opus(OpusOptions)
Opus (libopus) encoding options.
Aac(AacOptions)
AAC encoding options.
Mp3(Mp3Options)
MP3 (libmp3lame) encoding options.
Flac(FlacOptions)
FLAC encoding options.
Trait Implementations§
Source§impl Clone for AudioCodecOptions
impl Clone for AudioCodecOptions
Source§fn clone(&self) -> AudioCodecOptions
fn clone(&self) -> AudioCodecOptions
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AudioCodecOptions
impl RefUnwindSafe for AudioCodecOptions
impl Send for AudioCodecOptions
impl Sync for AudioCodecOptions
impl Unpin for AudioCodecOptions
impl UnsafeUnpin for AudioCodecOptions
impl UnwindSafe for AudioCodecOptions
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