C64: per-chan osc filters and volume

This commit is contained in:
tildearrow 2023-07-11 18:11:48 -05:00
parent e8130caa52
commit 6ce45593cf
2 changed files with 47 additions and 6 deletions

View file

@ -56,6 +56,8 @@ class DivPlatformC64: public DivDispatch {
Channel chan[3];
DivDispatchOscBuffer* oscBuf[3];
bool isMuted[3];
float fakeLow[3];
float fakeBand[3];
float fakeCutTable[2048];
struct QueuedWrite {
unsigned char addr;
@ -81,6 +83,8 @@ class DivPlatformC64: public DivDispatch {
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
inline short runFakeFilter(unsigned char ch, int in);
void acquire_classic(short* bufL, short* bufR, size_t start, size_t len);
void acquire_fp(short* bufL, short* bufR, size_t start, size_t len);