pub struct WavSpecEx {
pub spec: WavSpec,
pub bytes_per_sample: u16,
}
Expand description
Specifies properties of the audio data, as well as the layout of the stream.
Fields§
§spec: WavSpec
The normal information about the audio data.
Bits per sample here is the number of used bits per sample, not the number of bits used to store a sample.
bytes_per_sample: u16
The number of bytes used to store a sample.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WavSpecEx
impl RefUnwindSafe for WavSpecEx
impl Send for WavSpecEx
impl Sync for WavSpecEx
impl Unpin for WavSpecEx
impl UnwindSafe for WavSpecEx
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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
)