aboutsummaryrefslogtreecommitdiff
path: root/sword2/sound.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-02-07 10:51:48 +0000
committerTorbjörn Andersson2005-02-07 10:51:48 +0000
commit00670e2c23e2a7e4b59f32152ebb9441089e0d47 (patch)
treeefb20d8392da4e52621f81ae6ee26e78a58c9590 /sword2/sound.h
parentcda823ea63243df943daac5b2ee35e86fe43856c (diff)
downloadscummvm-rg350-00670e2c23e2a7e4b59f32152ebb9441089e0d47.tar.gz
scummvm-rg350-00670e2c23e2a7e4b59f32152ebb9441089e0d47.tar.bz2
scummvm-rg350-00670e2c23e2a7e4b59f32152ebb9441089e0d47.zip
Fixed crash that would happen if the game tried to play music from CD1 and
CD2 at the same time. There will eventually be a better fix for this, I hope. svn-id: r16750
Diffstat (limited to 'sword2/sound.h')
-rw-r--r--sword2/sound.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sword2/sound.h b/sword2/sound.h
index 9eeda246b5..f38c106d8d 100644
--- a/sword2/sound.h
+++ b/sword2/sound.h
@@ -126,6 +126,8 @@ public:
bool isStereo() const { return _decoder->isStereo(); }
int getRate() const { return _decoder->getRate(); }
+ int whichCd() { return _cd; }
+
void fadeUp();
void fadeDown();