ScummVM API documentation
Groovie::MusicPlayer Class Referenceabstract
Inheritance diagram for Groovie::MusicPlayer:
Groovie::MusicPlayerIOS Groovie::MusicPlayerMidi Groovie::MusicPlayerTlc Groovie::MusicPlayerMac_t7g Groovie::MusicPlayerMac_v2 Groovie::MusicPlayerXMI Groovie::MusicPlayerClan

Public Member Functions

 MusicPlayer (GroovieEngine *vm)
 
void playSong (uint32 fileref)
 
void stop ()
 
void setBackgroundSong (uint32 fileref)
 
void playCD (uint8 track)
 
void startBackground ()
 
bool isPlaying ()
 
virtual void pause (bool pause)
 
void setMidiInit (bool midiInit)
 
bool isMidiInit ()
 
void frameTick ()
 
void setBackgroundDelay (uint16 delay)
 
virtual void setUserVolume (uint16 volume)
 
void setGameVolume (uint16 volume, uint16 time)
 

Protected Member Functions

virtual void onTimerInternal ()
 
virtual void updateVolume ()=0
 
virtual bool load (uint32 fileref, bool loop)=0
 
virtual void unload (bool updateState=true)
 

Static Protected Member Functions

static void onTimer (void *data)
 

Protected Attributes

GroovieEngine_vm
 
bool _midiInit
 
Common::Mutex _mutex
 
uint16 _userVolume
 
uint16 _gameVolume
 

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