Audio interpolation (#1176)

add audio interpolation (emulation improvement)
This commit is contained in:
Arisotura
2021-08-08 14:27:57 +02:00
committed by GitHub
parent b28a9e4d24
commit 2df6b4fdc3
14 changed files with 180 additions and 45 deletions

View File

@ -31,6 +31,9 @@ void Stop();
void DoSavestate(Savestate* file);
// 0=none 1=linear 2=cosine 3=cubic
void SetInterpolation(int type);
void SetBias(u16 bias);
void Mix(u32 dummy);
@ -73,6 +76,7 @@ public:
bool KeyOn;
u32 Timer;
s32 Pos;
s16 PrevSample[3];
s16 CurSample;
u16 NoiseVal;