aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/sound.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2009-06-21 11:53:11 +0000
committerPaul Gilbert2009-06-21 11:53:11 +0000
commitb14fa66f9f7b105d18b00488c9bd620f77082fab (patch)
treee2161dc2b7f305a71817362271323aa307d4bb94 /engines/cruise/sound.cpp
parent31f40cd47e691e92088552246649d42bcaa1e661 (diff)
downloadscummvm-rg350-b14fa66f9f7b105d18b00488c9bd620f77082fab.tar.gz
scummvm-rg350-b14fa66f9f7b105d18b00488c9bd620f77082fab.tar.bz2
scummvm-rg350-b14fa66f9f7b105d18b00488c9bd620f77082fab.zip
Minor fixes to the individual note playing code
svn-id: r41726
Diffstat (limited to 'engines/cruise/sound.cpp')
-rw-r--r--engines/cruise/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/sound.cpp b/engines/cruise/sound.cpp
index 45bf186174..db8dc67e5a 100644
--- a/engines/cruise/sound.cpp
+++ b/engines/cruise/sound.cpp
@@ -808,10 +808,10 @@ void PCSound::musicLoop(bool v) {
_player->setLooping(v);
}
-void PCSound::startNote(int channel, int volume, int speed) {
+void PCSound::startNote(int channel, int volume, int freq) {
warning("TODO: startNote");
// _soundDriver->setVolume(channel, volume);
- _soundDriver->setChannelFrequency(channel, speed);
+ _soundDriver->setChannelFrequency(channel, freq);
}
void PCSound::setVolume(int volume) {