diff options
author | Arisotura <thetotalworm@gmail.com> | 2021-08-08 14:27:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-08 14:27:57 +0200 |
commit | 2df6b4fdc3439ea42b043d38f859efb5d4bd4466 (patch) | |
tree | 300323e14a13447039cb216dc8a097fe9f4bffd1 /src/SPU.h | |
parent | b28a9e4d24b42a59de5e333c99aec6dcc30435f0 (diff) |
Audio interpolation (#1176)
add audio interpolation (emulation improvement)
Diffstat (limited to 'src/SPU.h')
-rw-r--r-- | src/SPU.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |