#[repr(u8)]pub enum PcmRate {
Show 14 variants
Rate5512 = 0,
Rate8000 = 1,
Rate11025 = 2,
Rate16000 = 3,
Rate22050 = 4,
Rate32000 = 5,
Rate44100 = 6,
Rate48000 = 7,
Rate64000 = 8,
Rate88200 = 9,
Rate96000 = 10,
Rate176400 = 11,
Rate192000 = 12,
Rate384000 = 13,
}
Expand description
A PCM frame rate.
Variants§
Rate5512 = 0
5512 Hz PCM rate.
Rate8000 = 1
8000 Hz PCM rate.
Rate11025 = 2
11025 Hz PCM rate.
Rate16000 = 3
16000 Hz PCM rate.
Rate22050 = 4
22050 Hz PCM rate.
Rate32000 = 5
32000 Hz PCM rate.
Rate44100 = 6
44100 Hz PCM rate.
Rate48000 = 7
48000 Hz PCM rate.
Rate64000 = 8
64000 Hz PCM rate.
Rate88200 = 9
88200 Hz PCM rate.
Rate96000 = 10
96000 Hz PCM rate.
Rate176400 = 11
176400 Hz PCM rate.
Rate192000 = 12
192000 Hz PCM rate.
Rate384000 = 13
384000 Hz PCM rate.
Trait Implementations§
impl Copy for PcmRate
impl Eq for PcmRate
impl StructuralPartialEq for PcmRate
Auto Trait Implementations§
impl Freeze for PcmRate
impl RefUnwindSafe for PcmRate
impl Send for PcmRate
impl Sync for PcmRate
impl Unpin for PcmRate
impl UnwindSafe for PcmRate
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)