22 #ifndef SCUMM_PLAYERS_PLAYER_V3A_H 23 #define SCUMM_PLAYERS_PLAYER_V3A_H 25 #include "common/scummsys.h" 26 #include "common/util.h" 27 #include "scumm/music.h" 28 #include "audio/mixer.h" 29 #include "audio/mods/paula.h" 55 void interrupt()
override;
56 void interruptChannel(byte channel)
override;
91 const int SFX_CHANNEL_MAP[2][2] = {
95 const uint16 NOTE_FREQS[4][12] = {
96 {0x06B0, 0x0650, 0x05F4, 0x05A0, 0x054C, 0x0500, 0x04B8, 0x0474, 0x0434, 0x03F8, 0x03C0, 0x0388},
97 {0x0358, 0x0328, 0x02FA, 0x02D0, 0x02A6, 0x0280, 0x025C, 0x023A, 0x021A, 0x01FC, 0x01E0, 0x01C4},
98 {0x01AC, 0x0194, 0x017D, 0x0168, 0x0153, 0x0140, 0x012E, 0x011D, 0x010D, 0x00FE, 0x00F0, 0x00E2},
99 {0x00D6, 0x00CA, 0x00BE, 0x00B4, 0x00A9, 0x00A0, 0x0097, 0x008E, 0x0086, 0x007F, 0x00F0, 0x00E2}
109 kInitStateFailed = -1,
110 kInitStateNotReady = 0,
114 int8 *_wavetableData;
115 InstData *_wavetablePtrs;
117 void updateMusicIndy();
118 void updateMusicLoom();
120 void startNote(
int channel,
int instrument,
int pitch,
int volume,
int duration);
int getMusicTimer() override
int getSoundStatus(int sound) const override
void stopAllSounds() override
void setMusicVolume(int vol) override
void stopSound(int sound) override
void startSound(int sound) override
Definition: player_v3a.h:40