#[repr(transparent)]pub struct CdVolume(pub i16);Expand description
CD-DA / XA input volume.
CD input volumes are plain signed Q15 values on hardware, so full
positive gain is 0x7FFF. Use this instead of Volume, whose
0x3FFF maximum is for voice/main registers.
Tuple Fields§
§0: i16Implementations§
Trait Implementations§
impl Copy for CdVolume
impl Eq for CdVolume
impl StructuralPartialEq for CdVolume
Auto Trait Implementations§
impl Freeze for CdVolume
impl RefUnwindSafe for CdVolume
impl Send for CdVolume
impl Sync for CdVolume
impl Unpin for CdVolume
impl UnsafeUnpin for CdVolume
impl UnwindSafe for CdVolume
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, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)