ScummVM API documentation
Dgds::SciMusic Class Reference

Public Member Functions

 SciMusic (bool useDigitalSFX)
 
void init ()
 
void onTimer ()
 
void putMidiCommandInQueue (byte status, byte firstOp, byte secondOp)
 
void putMidiCommandInQueue (uint32 midi)
 
void putTrackInitCommandInQueue (MusicEntry *psnd)
 
void removeTrackInitCommandsFromQueue (MusicEntry *psnd)
 
void clearPlayList ()
 
void pauseAll (bool pause)
 
bool isAllPaused () const
 
void resetGlobalPauseCounter ()
 
void stopAll ()
 
void stopAllSamples ()
 
void stopMusic ()
 
void stopSFX ()
 
void soundInitSnd (MusicEntry *pSnd)
 
void soundPlay (MusicEntry *pSnd, bool restoring=false)
 
void soundStop (MusicEntry *pSnd)
 
void soundKill (MusicEntry *pSnd)
 
void soundPause (MusicEntry *pSnd)
 
void soundResume (MusicEntry *pSnd)
 
void soundToggle (MusicEntry *pSnd, bool pause)
 
void soundSetVolume (MusicEntry *pSnd, byte volume)
 
void soundSetSampleVolume (MusicEntry *pSnd, byte volume)
 
void soundSetPriority (MusicEntry *pSnd, byte prio)
 
uint16 soundGetMasterVolume ()
 
void soundSetMasterVolume (uint16 vol)
 
uint16 soundGetSoundOn () const
 
void soundSetSoundOn (bool soundOnFlag)
 
uint16 soundGetVoices ()
 
uint32 soundGetTempo () const
 
MusicType soundGetMusicType () const
 
bool isSoundActive (MusicEntry *pSnd)
 
void updateAudioStreamTicker (MusicEntry *pSnd)
 
MusicEntrygetSlot (uint32 obj)
 
MusicEntrygetFirstSlotWithStatus (SoundStatus status)
 
void pushBackSlot (MusicEntry *slotEntry)
 
void printPlayList (Console *con)
 
void printSongInfo (uint32 obj, Console *con)
 
MusicList::iterator getPlayListStart ()
 
MusicList::iterator getPlayListEnd ()
 
void setGlobalReverb (int8 reverb)
 
int8 getGlobalReverb ()
 
byte getCurrentReverb ()
 
void needsRemap ()
 
bool isDeviceChannelMapped (int devChannel) const
 
bool isDigitalSamplePlaying () const
 

Public Attributes

Common::Mutex_mutex
 

Protected Member Functions

void sortPlayList ()
 
void remapChannels (bool mainThread=true)
 
ChannelRemappingdetermineChannelMap ()
 
void resetDeviceChannel (int devChannel, bool mainThread)
 

Protected Attributes

Audio::Mixer_pMixer
 
MidiPlayer_pMidiDrv
 
uint32 _dwTempo
 
bool _useDigitalSFX
 

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