pub struct WaveSpec {
pub pcm_format: u16,
pub channels: u16,
pub sample_rate: u32,
pub bits_per_sample: u16,
}
Expand description
The structure representing the metadata of the WAVE file.
Fields§
§pcm_format: u16
Audio format. (1: PCM integer, …).
channels: u16
Number of channels.
sample_rate: u32
Sample rate.
bits_per_sample: u16
Number of bits per sample.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WaveSpec
impl RefUnwindSafe for WaveSpec
impl Send for WaveSpec
impl Sync for WaveSpec
impl Unpin for WaveSpec
impl UnwindSafe for WaveSpec
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