pub enum AudioOutputFormat {
Show 18 variants
Mp3_22050_32,
Mp3_44100_32,
Mp3_44100_64,
Mp3_44100_96,
Mp3_44100_128,
Mp3_44100_192,
Pcm8000,
Pcm16000,
Pcm22050,
Pcm44100,
Pcm48000,
Ulaw8000,
Alaw8000,
Opus4800032,
Opus4800064,
Opus4800096,
Opus48000128,
Opus48000192,
}Variants§
Mp3_22050_32
MP3 with 22.05kHz sample at 32kbs
Mp3_44100_32
MP3 with 44.1kHz sample at 32kbs
Mp3_44100_64
MP3 with 44.1kHz sample at 64kbs
Mp3_44100_96
MP3 with 44.1kHz sample at 96kbs
Mp3_44100_128
MP3 with 44.1kHz sample at 128kbs
Mp3_44100_192
MP3 with 44.1kHz sample at 192kbs
Pcm8000
PCM with 8kHz sample
Pcm16000
PCM with 16kHz sample
Pcm22050
PCM with 22.05kHz sample
Pcm44100
PCM with 44.1kHz sample
Pcm48000
PCM with 48kHz sample
Ulaw8000
ULaw with 8kHz sample
Alaw8000
ALaw with 8kHz sample
Opus4800032
Opus with 48kHz sample at 32kbs
Opus4800064
Opus with 48kHz sample at 64kbs
Opus4800096
Opus with 48kHz sample at 96kbs
Opus48000128
Opus with 48kHz sample at 128kbs
Opus48000192
Opus with 48kHz sample at 192kbs
Trait Implementations§
Source§impl Clone for AudioOutputFormat
impl Clone for AudioOutputFormat
Source§fn clone(&self) -> AudioOutputFormat
fn clone(&self) -> AudioOutputFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AudioOutputFormat
impl Debug for AudioOutputFormat
Source§impl Default for AudioOutputFormat
impl Default for AudioOutputFormat
Source§fn default() -> AudioOutputFormat
fn default() -> AudioOutputFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AudioOutputFormat
impl<'de> Deserialize<'de> for AudioOutputFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AudioOutputFormat
impl RefUnwindSafe for AudioOutputFormat
impl Send for AudioOutputFormat
impl Sync for AudioOutputFormat
impl Unpin for AudioOutputFormat
impl UnsafeUnpin for AudioOutputFormat
impl UnwindSafe for AudioOutputFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more