123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #ifndef H_ADPLUG_DEMUOPL
- #define H_ADPLUG_DEMUOPL
- #include "opl.h"
- #include "dosbox_opl.h"
- #include <assert.h>
- struct OPLHandler;
- class CDemuopl: public Copl
- {
- public:
- CDemuopl(int rate, bool bit16, bool usestereo);
-
- void update(short *buf, int samples);
-
-
- void write(int reg, int val);
-
- void init() {};
-
- protected:
- bool use16bit,stereo;
- OPLHandler *pHandler;
- static int channels;
- };
- #endif
|