mirror of
https://github.com/libretro/FBNeo.git
synced 2025-03-09 04:43:17 +00:00
add BurnSoundClear() to burn_sound.cpp/h
This commit is contained in:
parent
6b5244dad9
commit
17a0d80d50
@ -28,6 +28,7 @@ static INT16 dac_lastout_r = 0;
|
||||
static INT16 dac_lastin_l = 0;
|
||||
static INT16 dac_lastout_l = 0;
|
||||
|
||||
// BurnSoundDCFilterReset() is called automatically @ game init, no need to call this in-driver.
|
||||
void BurnSoundDCFilterReset()
|
||||
{
|
||||
dac_lastin_r = dac_lastout_r = 0;
|
||||
@ -52,3 +53,9 @@ void BurnSoundDCFilter()
|
||||
pBurnSoundOut[i*2+1] = outl;
|
||||
}
|
||||
}
|
||||
|
||||
void BurnSoundClear()
|
||||
{
|
||||
if (pBurnSoundOut)
|
||||
memset(pBurnSoundOut, 0, nBurnSoundLen * 2 * sizeof(INT16));
|
||||
}
|
||||
|
@ -32,8 +32,11 @@ void BurnSoundCopyClamp_Mono_C(INT32* Src, INT16* Dest, INT32 Len);
|
||||
void BurnSoundCopyClamp_Mono_Add_C(INT32* Src, INT16* Dest, INT32 Len);
|
||||
|
||||
extern INT32 cmc_4p_Precalc();
|
||||
|
||||
void BurnSoundDCFilter();
|
||||
void BurnSoundDCFilterReset();
|
||||
void BurnSoundDCFilterReset(); // called in burn.cpp: BurnDrvInit()
|
||||
|
||||
void BurnSoundClear();
|
||||
|
||||
#ifdef __ELF__
|
||||
#define Precalc _Precalc
|
||||
|
Loading…
x
Reference in New Issue
Block a user