channel mute/solo!

This commit is contained in:
tildearrow 2021-12-18 03:25:42 -05:00
parent c4c019e593
commit b3b66ecbdb
27 changed files with 416 additions and 48 deletions

View file

@ -32,6 +32,7 @@ class DivPlatformNES: public DivDispatch {
wave(-1) {}
};
Channel chan[5];
bool isMuted[5];
int dacPeriod, dacRate;
unsigned int dacPos;
int dacSample;
@ -46,6 +47,7 @@ class DivPlatformNES: public DivDispatch {
int dispatch(DivCommand c);
void reset();
void tick();
void muteChannel(int ch, bool mute);
bool keyOffAffectsArp(int ch);
void setPAL(bool pal);
int init(DivEngine* parent, int channels, int sugRate, bool pal);