Struct ctru_sys::ndspAdpcmData
source · #[repr(C)]pub struct ndspAdpcmData {
pub index: u16_,
pub history0: s16,
pub history1: s16,
}
Expand description
ADPCM data.
Fields§
§index: u16_
< Current predictor index
history0: s16
< Last outputted PCM16 sample.
history1: s16
< Second to last outputted PCM16 sample.
Trait Implementations§
source§impl Clone for ndspAdpcmData
impl Clone for ndspAdpcmData
source§fn clone(&self) -> ndspAdpcmData
fn clone(&self) -> ndspAdpcmData
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ndspAdpcmData
impl Debug for ndspAdpcmData
source§impl Default for ndspAdpcmData
impl Default for ndspAdpcmData
source§fn default() -> ndspAdpcmData
fn default() -> ndspAdpcmData
Returns the “default value” for a type. Read more