22 #ifndef SKY_MUSIC_MUSICBASE_H 23 #define SKY_MUSIC_MUSICBASE_H 26 #include "common/scummsys.h" 27 #include "common/mutex.h" 29 #include "audio/mixer.h" 32 class SeekableAudioStream;
39 #define FILES_PER_SECTION 4 49 virtual uint8 process(uint16 aktTime) = 0;
50 virtual void updateVolume(uint16 pVolume) = 0;
51 virtual bool isActive() = 0;
59 void loadSection(uint8 pSection);
60 void startMusic(uint16 param);
62 bool musicIsPlaying();
64 uint8 giveCurrentMusic();
65 virtual void setVolume(uint16 param) = 0;
74 uint16 _driverFileBase;
76 uint16 _musicVolume, _numberOfChannels;
77 uint8 _currentMusic, _currentSection;
87 virtual void setupPointers() = 0;
88 virtual void setupChannels(uint8 *channelData) = 0;
89 virtual void startDriver() = 0;
95 void stopMusicInternal();
Definition: musicbase.h:41
Definition: musicbase.h:55
Definition: audiostream.h:212
Definition: musicbase.h:46
Definition: autoroute.h:28