pub struct AudioFileConfig {
pub container: Container,
pub codec: AudioFileCodec,
pub sample_rate: u32,
pub speakers: SpeakerLayout,
}Expand description
Configuration of a transactional audio-only output.
Fields§
§container: ContainerThe container; WAVE for PCM, one that offers the codec otherwise.
codec: AudioFileCodecHow the sound is stored.
sample_rate: u32Project audio sample rate.
speakers: SpeakerLayoutThe speakers every block feeds, one plane each.
Trait Implementations§
Source§impl Clone for AudioFileConfig
impl Clone for AudioFileConfig
impl Copy for AudioFileConfig
Source§impl Debug for AudioFileConfig
impl Debug for AudioFileConfig
impl Eq for AudioFileConfig
Source§impl PartialEq for AudioFileConfig
impl PartialEq for AudioFileConfig
impl StructuralPartialEq for AudioFileConfig
Auto Trait Implementations§
impl Forget for AudioFileConfig
impl Freeze for AudioFileConfig
impl Move for AudioFileConfig
impl RefUnwindSafe for AudioFileConfig
impl Send for AudioFileConfig
impl Sync for AudioFileConfig
impl Unpin for AudioFileConfig
impl UnsafeUnpin for AudioFileConfig
impl UnwindSafe for AudioFileConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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