redo opnx csm
This commit is contained in:
parent
901bb110cc
commit
5f47166012
17 changed files with 572 additions and 147 deletions
|
|
@ -42,9 +42,9 @@ class DivPlatformYM2203: public DivPlatformOPN {
|
|||
0, 1, 2
|
||||
};
|
||||
|
||||
OPNChannel chan[6];
|
||||
DivDispatchOscBuffer* oscBuf[6];
|
||||
bool isMuted[6];
|
||||
OPNChannel chan[7];
|
||||
DivDispatchOscBuffer* oscBuf[7];
|
||||
bool isMuted[7];
|
||||
ym3438_t fm_nuked;
|
||||
ymfm::ym2203* fm;
|
||||
ymfm::ym2203::output_data fmout;
|
||||
|
|
@ -73,6 +73,7 @@ class DivPlatformYM2203: public DivPlatformOPN {
|
|||
void acquire_lle(short** buf, size_t len);
|
||||
|
||||
public:
|
||||
bool isCSM;
|
||||
void acquire(short** buf, size_t len);
|
||||
void fillStream(std::vector<DivDelayedWrite>& stream, int sRate, size_t len);
|
||||
int dispatch(DivCommand c);
|
||||
|
|
@ -98,7 +99,8 @@ class DivPlatformYM2203: public DivPlatformOPN {
|
|||
void quit();
|
||||
DivPlatformYM2203():
|
||||
DivPlatformOPN(2, 3, 6, 6, 6, 4720270.0, 36, 16),
|
||||
prescale(0x2d) {}
|
||||
prescale(0x2d),
|
||||
isCSM(false) {}
|
||||
~DivPlatformYM2203();
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue