Home
last modified time | relevance | path

Searched refs:ADPCMDelta (Results 1 – 2 of 2) sorted by relevance

/dports/games/libretro-beetle_pcfx/beetle-pcfx-libretro-7bba669/mednafen/pcfx/
H A Dsoundbox.cpp64 int32 ADPCMDelta[2]; member
307 sbox.ADPCMDelta[ch] = 0; in SoundBox_ADPCMUpdate()
322 sbox.ADPCMDelta[ch] = BaseStepSize * ((nibble & 0x7) + 1) * 2; in SoundBox_ADPCMUpdate()
325 sbox.ADPCMDelta[ch] = BaseStepSize * ((nibble & 0x7) + 1); in SoundBox_ADPCMUpdate()
329 sbox.ADPCMDelta[ch] >>= (KINGADPCMControl >> 2) & 0x3; in SoundBox_ADPCMUpdate()
332 sbox.ADPCMDelta[ch] = -sbox.ADPCMDelta[ch]; in SoundBox_ADPCMUpdate()
373 sbox.ADPCMPredictor[ch] += sbox.ADPCMDelta[ch]; in SoundBox_ADPCMUpdate()
538 SFARRAY32N(sbox.ADPCMDelta, 2, "ADPCMDelta"), in SoundBox_StateAction()
/dports/emulators/mednafen/mednafen/src/pcfx/
H A Dsoundbox.cpp69 int32 ADPCMDelta[2]; member
497 sbox.ADPCMDelta[ch] = 0; in SoundBox_ADPCMUpdate()
512 sbox.ADPCMDelta[ch] = BaseStepSize * ((nibble & 0x7) + 1) * 2; in SoundBox_ADPCMUpdate()
515 sbox.ADPCMDelta[ch] = BaseStepSize * ((nibble & 0x7) + 1); in SoundBox_ADPCMUpdate()
519 sbox.ADPCMDelta[ch] >>= (KINGADPCMControl >> 2) & 0x3; in SoundBox_ADPCMUpdate()
522 sbox.ADPCMDelta[ch] = -sbox.ADPCMDelta[ch]; in SoundBox_ADPCMUpdate()
563 sbox.ADPCMPredictor[ch] += sbox.ADPCMDelta[ch]; in SoundBox_ADPCMUpdate()
726 SFVARN(sbox.ADPCMDelta, "ADPCMDelta"), in SoundBox_StateAction()