Dave: implement sample offset

This commit is contained in:
tildearrow 2024-04-23 19:55:17 -05:00
parent a88b63cf31
commit 41e59cee5f
2 changed files with 18 additions and 5 deletions

View file

@ -33,7 +33,7 @@ class DivPlatformDave: public DivDispatch {
unsigned char panL;
unsigned char panR;
unsigned char wave;
bool writeVol, highPass, ringMod, swapCounters, lowPass, resetPhase;
bool writeVol, highPass, ringMod, swapCounters, lowPass, resetPhase, setPos;
Channel():
SharedChannel<signed char>(63),
dacPeriod(0),
@ -50,7 +50,8 @@ class DivPlatformDave: public DivDispatch {
ringMod(false),
swapCounters(false),
lowPass(false),
resetPhase(false) {}
resetPhase(false),
setPos(false) {}
};
Channel chan[6];
DivDispatchOscBuffer* oscBuf[6];