ScummVM API documentation
Sci::SciMusic Class Reference
Inheritance diagram for Sci::SciMusic:
Common::Serializable

Public Member Functions

 SciMusic (SciVersion soundVersion, 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 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 (reg_t obj)
 
MusicEntrygetFirstSlotWithStatus (SoundStatus status)
 
void pushBackSlot (MusicEntry *slotEntry)
 
void printPlayList (Console *con)
 
void printSongInfo (reg_t obj, Console *con)
 
MusicList::iterator getPlayListStart ()
 
MusicList::iterator getPlayListEnd ()
 
void sendMidiCommand (uint32 cmd)
 
void sendMidiCommand (MusicEntry *pSnd, uint32 cmd)
 
void setGlobalReverb (int8 reverb)
 
int8 getGlobalReverb ()
 
byte getCurrentReverb ()
 
void needsRemap ()
 
void saveLoadWithSerializer (Common::Serializer &ser) override
 
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

SciVersion _soundVersion
 
Audio::Mixer_pMixer
 
MidiPlayer_pMidiDrv
 
uint32 _dwTempo
 
bool _useDigitalSFX
 

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