pub struct AudioEncodeConfig {
pub codec: AudioCodec,
pub project_rate: u32,
pub speakers: SpeakerLayout,
pub bitrate: u32,
}Expand description
What an audio encoder is asked for.
Fields§
§codec: AudioCodecThe codec.
project_rate: u32The project’s sample rate, which the audio arrives at.
speakers: SpeakerLayoutThe speakers, one plane each.
bitrate: u32Bits per second.
Trait Implementations§
Source§impl Clone for AudioEncodeConfig
impl Clone for AudioEncodeConfig
impl Copy for AudioEncodeConfig
Source§impl Debug for AudioEncodeConfig
impl Debug for AudioEncodeConfig
Source§impl PartialEq for AudioEncodeConfig
impl PartialEq for AudioEncodeConfig
impl StructuralPartialEq for AudioEncodeConfig
Auto Trait Implementations§
impl Forget for AudioEncodeConfig
impl Freeze for AudioEncodeConfig
impl Move for AudioEncodeConfig
impl RefUnwindSafe for AudioEncodeConfig
impl Send for AudioEncodeConfig
impl Sync for AudioEncodeConfig
impl Unpin for AudioEncodeConfig
impl UnsafeUnpin for AudioEncodeConfig
impl UnwindSafe for AudioEncodeConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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