diff options
author | Sven Hesse | 2008-05-08 15:51:02 +0000 |
---|---|---|
committer | Sven Hesse | 2008-05-08 15:51:02 +0000 |
commit | 18db41db506b1e18e050e8dded44dc8501b9bc8f (patch) | |
tree | 70915fc5e973052e2ea6b2d1034e1b42f11b9c7b /engines/gob/coktelvideo.cpp | |
parent | a9b4058ba9fd94de7bd293b0763d71f9f90f84bc (diff) | |
download | scummvm-rg350-18db41db506b1e18e050e8dded44dc8501b9bc8f.tar.gz scummvm-rg350-18db41db506b1e18e050e8dded44dc8501b9bc8f.tar.bz2 scummvm-rg350-18db41db506b1e18e050e8dded44dc8501b9bc8f.zip |
Implemented the background "music" / atmospheric sounds in Woodruff
svn-id: r31949
Diffstat (limited to 'engines/gob/coktelvideo.cpp')
-rw-r--r-- | engines/gob/coktelvideo.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/gob/coktelvideo.cpp b/engines/gob/coktelvideo.cpp index d508dc75f9..c3625574d0 100644 --- a/engines/gob/coktelvideo.cpp +++ b/engines/gob/coktelvideo.cpp @@ -270,6 +270,13 @@ void Imd::disableSound() { _mixer = 0; } +bool Imd::isSoundPlaying() const { + if (_audioStream && _mixer->isSoundHandleActive(_audioHandle)) + return true; + + return false; +} + void Imd::seekFrame(int32 frame, int16 whence, bool restart) { if (!_stream) // Nothing to do |