pub struct SampleFormatConvert(/* private fields */);Expand description
don’t understand what bit 3 is supposed to do
Implementations§
Source§impl SampleFormatConvert
impl SampleFormatConvert
pub fn is_signed(self) -> bool
Sourcepub fn is_big_endian(self) -> bool
pub fn is_big_endian(self) -> bool
should only be true for very old files (isn’t even supported in C schism)
Sourcepub fn delta_samples(self) -> bool
pub fn delta_samples(self) -> bool
alternative is PCM samples
Sourcepub fn byte_delta(self) -> bool
pub fn byte_delta(self) -> bool
not supported
Sourcepub fn tx_wave_12bit(self) -> bool
pub fn tx_wave_12bit(self) -> bool
don’t support in first step
Sourcepub fn should_show_stereo_prompt(self) -> bool
pub fn should_show_stereo_prompt(self) -> bool
don’t know if this also means that the sample is stereo
Trait Implementations§
Source§impl Clone for SampleFormatConvert
impl Clone for SampleFormatConvert
Source§fn clone(&self) -> SampleFormatConvert
fn clone(&self) -> SampleFormatConvert
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SampleFormatConvert
impl Debug for SampleFormatConvert
impl Copy for SampleFormatConvert
Auto Trait Implementations§
impl Freeze for SampleFormatConvert
impl RefUnwindSafe for SampleFormatConvert
impl Send for SampleFormatConvert
impl Sync for SampleFormatConvert
impl Unpin for SampleFormatConvert
impl UnwindSafe for SampleFormatConvert
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