diff options
Diffstat (limited to 'opl/dbopl.h')
-rw-r--r-- | opl/dbopl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/opl/dbopl.h b/opl/dbopl.h index f7d2e416..a5c10bfd 100644 --- a/opl/dbopl.h +++ b/opl/dbopl.h @@ -47,7 +47,7 @@ typedef Bits ( DB_FASTCALL *WaveHandler) ( Bitu i, Bitu volume ); #define DB_FASTCALL -typedef Bits (*VolumeHandler)(); +typedef Bits (*VolumeHandler)(Operator *self); typedef Channel* (*SynthHandler)(Channel *self, Chip* chip, Bit32u samples, Bit32s* output ); //Different synth modes that can generate blocks of data @@ -194,3 +194,10 @@ struct Handler : public Adlib::Handler { */ +void Chip__Setup(Chip *self, Bit32u rate ); +void DBOPL_InitTables( void ); +void Chip__Chip(Chip *self); +void Chip__WriteReg(Chip *self, Bit32u reg, Bit8u val ); +void Chip__GenerateBlock2(Chip *self, Bitu total, Bit32s* output ); + + |