aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-05-24 05:17:48 +0000
committerTorbjörn Andersson2006-05-24 05:17:48 +0000
commitf7bacd746f6e9276c611b9d019b2114c487ead0f (patch)
tree1393dd8db9862c45fd115300f14f7c9926a728a9
parentf83f1a77b6f5a025432a3b8b0ee6bd9f9985dbc2 (diff)
downloadscummvm-rg350-f7bacd746f6e9276c611b9d019b2114c487ead0f.tar.gz
scummvm-rg350-f7bacd746f6e9276c611b9d019b2114c487ead0f.tar.bz2
scummvm-rg350-f7bacd746f6e9276c611b9d019b2114c487ead0f.zip
Seems like the sound is generated at 22050 Hz regardless of output sample rate.
Hopefully, that will change in the future. svn-id: r22595
-rw-r--r--engines/agi/sound.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agi/sound.h b/engines/agi/sound.h
index 5af9fe1a5f..3d09f01d31 100644
--- a/engines/agi/sound.h
+++ b/engines/agi/sound.h
@@ -152,7 +152,8 @@ public:
}
int getRate() const {
- return _sampleRate;
+ // FIXME: Ideally, we should use _sampleRate.
+ return 22050;
}
private: