27 #include "audio/audiostream.h" 28 #include "audio/mididrv.h" 29 #include "audio/mididrv_ms.h" 30 #include "audio/mt32gm.h" 31 #include "audio/midiparser.h" 32 #include "audio/mixer.h" 33 #include "audio/softsynth/fmtowns_pc98/towns_pc98_driver.h" 46 static const uint8 MUSIC_SUNSPOT = 26;
47 static const uint8 MT32_GOODBYE_MSG[MidiDriver_MT32GM::MT32_DISPLAY_NUM_CHARS];
54 bool hasDigitalMusic() {
return _digitalMusic; }
56 void play(uint32 resourceId, MusicFlags flags = MUSIC_NORMAL);
61 void setVolume(
int volume,
int time = 1);
62 int getVolume() {
return _currentVolume; }
66 bool isAdlib()
const {
return _driverType == MT_ADLIB; }
68 void syncSoundSettings();
86 int _currentVolumePercent;
95 static void musicVolumeGaugeCallback(
void *refCon);
96 static void timerCallback(
void *refCon);
98 bool playDigital(uint32 resourceId, MusicFlags flags);
99 void playProtracker(uint32 resourceId, MusicFlags flags);
100 void playQuickTime(uint32 resourceId, MusicFlags flags);
101 void playMidi(uint32 resourceId, MusicFlags flags);
102 void musicVolumeGauge();
Definition: resource.h:105
Definition: mididrv_ms.h:86
MusicType
Definition: mididrv.h:44
Definition: towns_pc98_driver.h:34
Definition: midiparser.h:289