pub enum SoundRate {
Khz5 = 0,
Khz11 = 1,
Khz22 = 2,
Khz44 = 3,
}Expand description
Audio sampling rate.
Note that if the format is SoundFormat::Aac, SoundRate::Khz44 always be used.
Variants§
Trait Implementations§
Source§impl Ord for SoundRate
impl Ord for SoundRate
Source§impl PartialOrd for SoundRate
impl PartialOrd for SoundRate
impl Copy for SoundRate
impl Eq for SoundRate
impl StructuralPartialEq for SoundRate
Auto Trait Implementations§
impl Freeze for SoundRate
impl RefUnwindSafe for SoundRate
impl Send for SoundRate
impl Sync for SoundRate
impl Unpin for SoundRate
impl UnwindSafe for SoundRate
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