diff options
author | Paweł Kołodziejski | 2004-09-04 13:13:23 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-09-04 13:13:23 +0000 |
commit | 3a19ca1be3ef163cf88f58236cb004163947340f (patch) | |
tree | 90ed5d75dc49c8d84d478a2375377c94ccaf1d93 /sound | |
parent | 23e294e10c237fc5ddb53205d2d7d187e4537e0d (diff) | |
download | scummvm-rg350-3a19ca1be3ef163cf88f58236cb004163947340f.tar.gz scummvm-rg350-3a19ca1be3ef163cf88f58236cb004163947340f.tar.bz2 scummvm-rg350-3a19ca1be3ef163cf88f58236cb004163947340f.zip |
fixde bug IMUSE+DEBUG
svn-id: r14892
Diffstat (limited to 'sound')
-rw-r--r-- | sound/mixer.cpp | 4 | ||||
-rw-r--r-- | sound/mixer.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp index 40dfe8b3be..adf92cbd10 100644 --- a/sound/mixer.cpp +++ b/sound/mixer.cpp @@ -134,6 +134,10 @@ SoundMixer::~SoundMixer() { _syst->deleteMutex(_mutex); } +bool SoundMixer::isPaused() { + return _paused; +} + void SoundMixer::setupPremix(PremixProc *proc, void *param) { Common::StackLock lock(_mutex); _premixParam = param; diff --git a/sound/mixer.h b/sound/mixer.h index 1ab0360b24..91b32ae152 100644 --- a/sound/mixer.h +++ b/sound/mixer.h @@ -145,6 +145,9 @@ public: /** pause/unpause all channels */ void pauseAll(bool paused); + /** check if mixer is paused */ + bool isPaused(); + /** pause/unpause the sound with the given ID */ void pauseID(int id, bool paused); |