ScummVM API documentation
Sky::MusicBase Class Referenceabstract
Inheritance diagram for Sky::MusicBase:
Sky::AdLibMusic Sky::GmMusic Sky::MT32Music

Public Member Functions

 MusicBase (Audio::Mixer *pMixer, Disk *pDisk)
 
void loadSection (uint8 pSection)
 
void startMusic (uint16 param)
 
void stopMusic ()
 
bool musicIsPlaying ()
 
uint8 giveVolume ()
 
uint8 giveCurrentMusic ()
 
virtual void setVolume (uint16 param)=0
 

Protected Member Functions

virtual void setupPointers ()=0
 
virtual void setupChannels (uint8 *channelData)=0
 
virtual void startDriver ()=0
 
void updateTempo ()
 
void loadNewMusic ()
 
void pollMusic ()
 
void stopMusicInternal ()
 

Protected Attributes

Audio::Mixer_mixer
 
Disk_skyDisk
 
uint8 * _musicData
 
uint16 _musicDataLoc
 
uint16 _driverFileBase
 
uint16 _musicVolume
 
uint16 _numberOfChannels
 
uint8 _currentMusic
 
uint8 _currentSection
 
uint8 _musicTempo0
 
uint8 _musicTempo1
 
uint32 _tempo
 
uint32 _aktTime
 
Actions _onNextPoll
 
ChannelBase_channels [10]
 
Common::Mutex _mutex
 
Audio::SoundHandle _musicHandle
 

The documentation for this class was generated from the following file: