22 #ifndef DARKSEED_ADLIB_DSF_H 23 #define DARKSEED_ADLIB_DSF_H 25 #include "audio/adlib_ms.h" 36 static const uint16 OPL_NOTE_FREQUENCIES[12];
46 void setSourcePriority(uint8 source, uint8 priority);
48 void loadInstrumentBank(uint8 *instrumentBankData);
61 #endif // DARKSEED_ADLIB_DSF_H uint8 allocateOplChannel(uint8 channel, uint8 source, InstrumentInfo &instrumentInfo) override
Definition: adlib_dsf.h:34
Definition: adlib_ms.h:645
Definition: adlib_ms.h:289
OplType
Definition: fmopl.h:58
static const uint8 MAXIMUM_SOURCES
Definition: mididrv_ms.h:92
uint16 calculateFrequency(uint8 channel, uint8 source, uint8 note) override
void deinitSource(uint8 source) override
Definition: adlib_ms.h:79
Definition: adlib_dsf.h:27
uint8 calculateUnscaledVolume(uint8 channel, uint8 source, uint8 velocity, const OplInstrumentDefinition &instrumentDef, uint8 operatorNum) override