Skip to main content

slaveChn_t

Struct slaveChn_t 

Source
#[repr(C)]
pub struct slaveChn_t {
Show 75 fields pub SmpIs16Bit: bool, pub Flags: u16, pub MixOffset: u32, pub LoopMode: u8, pub LoopDirection: u8, pub LeftVolume: i32, pub RightVolume: i32, pub Frequency: i32, pub FrequencySet: i32, pub AutoVibratoPos: u8, pub AutoVibratoDepth: u16, pub OldLeftVolume: i32, pub OldRightVolume: i32, pub FinalVol128: u8, pub Vol: u8, pub VolSet: u8, pub ChnVol: u8, pub SmpVol: u8, pub FinalPan: u8, pub FadeOut: u16, pub DCT: u8, pub DCA: u8, pub Pan: u8, pub PanSet: u8, pub InsPtr: *mut instrument_t, pub SmpPtr: *mut sample_t, pub Note: u8, pub Ins: u8, pub Smp: u8, pub HostChnPtr: *mut c_void, pub HostChnNum: u8, pub NNA: u8, pub MIDIChn: u8, pub MIDIProg: u8, pub MIDIBank: u16, pub LoopBegin: i32, pub LoopEnd: i32, pub Frac32: u32, pub FinalVol32768: u16, pub SamplingPosition: i32, pub filtera: i32, pub filterb: i32, pub filterc: i32, pub VolEnvState: envState_t, pub PanEnvState: envState_t, pub PitchEnvState: envState_t, pub Delta32: u32, pub OldSamples: [i32; 2], pub DestVolL: i32, pub DestVolR: i32, pub CurrVolL: i32, pub CurrVolR: i32, pub fOldSamples: [f32; 4], pub fFiltera: f32, pub fFilterb: f32, pub fFilterc: f32, pub HasLooped: bool, pub fOldLeftVolume: f32, pub fOldRightVolume: f32, pub fLeftVolume: f32, pub fRightVolume: f32, pub fDestVolL: f32, pub fDestVolR: f32, pub fCurrVolL: f32, pub fCurrVolR: f32, pub Frac64: u64, pub Delta64: u64, pub leftTmpSamples16: [i16; 3], pub rightTmpSamples16: [i16; 4], pub leftTmpSamples8: [i8; 3], pub rightTmpSamples8: [i8; 4], pub leftTmpSamples16_R: [i16; 3], pub rightTmpSamples16_R: [i16; 4], pub leftTmpSamples8_R: [i8; 3], pub rightTmpSamples8_R: [i8; 4],
}

Fields§

§SmpIs16Bit: bool§Flags: u16§MixOffset: u32§LoopMode: u8§LoopDirection: u8§LeftVolume: i32§RightVolume: i32§Frequency: i32§FrequencySet: i32§AutoVibratoPos: u8§AutoVibratoDepth: u16§OldLeftVolume: i32§OldRightVolume: i32§FinalVol128: u8§Vol: u8§VolSet: u8§ChnVol: u8§SmpVol: u8§FinalPan: u8§FadeOut: u16§DCT: u8§DCA: u8§Pan: u8§PanSet: u8§InsPtr: *mut instrument_t§SmpPtr: *mut sample_t§Note: u8§Ins: u8§Smp: u8§HostChnPtr: *mut c_void§HostChnNum: u8§NNA: u8§MIDIChn: u8§MIDIProg: u8§MIDIBank: u16§LoopBegin: i32§LoopEnd: i32§Frac32: u32§FinalVol32768: u16§SamplingPosition: i32§filtera: i32§filterb: i32§filterc: i32§VolEnvState: envState_t§PanEnvState: envState_t§PitchEnvState: envState_t§Delta32: u32§OldSamples: [i32; 2]§DestVolL: i32§DestVolR: i32§CurrVolL: i32§CurrVolR: i32§fOldSamples: [f32; 4]§fFiltera: f32§fFilterb: f32§fFilterc: f32§HasLooped: bool§fOldLeftVolume: f32§fOldRightVolume: f32§fLeftVolume: f32§fRightVolume: f32§fDestVolL: f32§fDestVolR: f32§fCurrVolL: f32§fCurrVolR: f32§Frac64: u64§Delta64: u64§leftTmpSamples16: [i16; 3]§rightTmpSamples16: [i16; 4]§leftTmpSamples8: [i8; 3]§rightTmpSamples8: [i8; 4]§leftTmpSamples16_R: [i16; 3]§rightTmpSamples16_R: [i16; 4]§leftTmpSamples8_R: [i8; 3]§rightTmpSamples8_R: [i8; 4]

Trait Implementations§

Source§

impl Clone for slaveChn_t

Source§

fn clone(&self) -> slaveChn_t

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for slaveChn_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for slaveChn_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.