pub struct PcmFormat {
pub bits: u16,
pub float: bool,
pub big_endian: bool,
pub signed: bool,
}Expand description
How PCM samples are stored.
Fields§
§bits: u16Bits per sample: 8, 16, 24, 32 or 64.
float: boolIEEE float rather than integer.
big_endian: boolBig-endian rather than little-endian.
signed: boolSigned integers (8-bit WAV is unsigned).
Trait Implementations§
impl Copy for PcmFormat
impl Eq for PcmFormat
impl StructuralPartialEq for PcmFormat
Auto Trait Implementations§
impl Forget for PcmFormat
impl Freeze for PcmFormat
impl Move for PcmFormat
impl RefUnwindSafe for PcmFormat
impl Send for PcmFormat
impl Sync for PcmFormat
impl Unpin for PcmFormat
impl UnsafeUnpin for PcmFormat
impl UnwindSafe for PcmFormat
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