aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/sound.cpp
diff options
context:
space:
mode:
authorMax Horn2010-04-12 09:14:17 +0000
committerMax Horn2010-04-12 09:14:17 +0000
commita1840bd5732473e3144857c74716ec2d6e4338c2 (patch)
tree97a63044cc6cf8617172af41857b6e19fa324d20 /engines/tinsel/sound.cpp
parent9191b9d5289b99b197fee8b9234080d03d2194c3 (diff)
downloadscummvm-rg350-a1840bd5732473e3144857c74716ec2d6e4338c2.tar.gz
scummvm-rg350-a1840bd5732473e3144857c74716ec2d6e4338c2.tar.bz2
scummvm-rg350-a1840bd5732473e3144857c74716ec2d6e4338c2.zip
AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
Diffstat (limited to 'engines/tinsel/sound.cpp')
-rw-r--r--engines/tinsel/sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tinsel/sound.cpp b/engines/tinsel/sound.cpp
index 370b2e0a82..bb0e251b52 100644
--- a/engines/tinsel/sound.cpp
+++ b/engines/tinsel/sound.cpp
@@ -117,7 +117,7 @@ bool SoundManager::playSample(int id, Audio::Mixer::SoundType type, Audio::Sound
_vm->_mixer->setVolumeForSoundType(Audio::Mixer::kSpeechSoundType, _vm->_config->_voiceVolume);
// Play the audio stream
- _vm->_mixer->playInputStream(type, &curChan.handle, vagStream);
+ _vm->_mixer->playStream(type, &curChan.handle, vagStream);
} else {
// allocate a buffer
byte *sampleBuf = (byte *)malloc(sampleLen);
@@ -158,7 +158,7 @@ bool SoundManager::playSample(int id, Audio::Mixer::SoundType type, Audio::Sound
break;
}
if (sampleStream) {
- _vm->_mixer->playInputStream(type, &curChan.handle, sampleStream);
+ _vm->_mixer->playStream(type, &curChan.handle, sampleStream);
}
}
@@ -324,7 +324,7 @@ bool SoundManager::playSample(int id, int sub, bool bLooped, int x, int y, int p
//curChan->timeDuration = (((sampleLen * 64) / 25) * 1000) / (22050 * 2);
// Play it
- _vm->_mixer->playInputStream(type, &curChan->handle, sampleStream);
+ _vm->_mixer->playStream(type, &curChan->handle, sampleStream);
_vm->_mixer->setChannelVolume(curChan->handle, sndVol);
_vm->_mixer->setChannelBalance(curChan->handle, getPan(x));