ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Scumm::SoundCD Class Reference

Public Member Functions

 SoundCD (ScummEngine *parent, Audio::Mixer *mixer, SoundSE *soundSE, bool useReplacementAudioTracks)
 
bool triggerCDSound (int soundID)
 
void stopCDSound (int sound)
 
void stopAllCDSounds ()
 
void pauseCDSounds (bool pause)
 
bool useReplacementAudio () const
 
void updateMusicTimer ()
 
int getMusicTimer () const
 
int getCDMusicTimer () const
 
void startCDTimer ()
 
void stopCDTimer ()
 
int playCDTrackFromSoundID (int soundId)
 
void playCDTrack (int track, int numLoops, int startFrame, int duration)
 
void stopCD ()
 
int pollCD () const
 
void updateCD ()
 
AudioCDManager::Status getCDStatus ()
 
int getCurrentCDSound () const
 
int restoreAfterLoad ()
 
void restoreCDAudioAfterLoad (AudioCDManager::Status &info)
 
bool isRolandLoom () const
 

Public Attributes

int16 _currentCDSound = 0
 
uint32 _cdMusicTimerMod = 0
 
uint32 _cdMusicTimer = 0
 
bool _soundsPaused = false
 

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