aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
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/agi
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/agi')
-rw-r--r--engines/agi/preagi.cpp2
-rw-r--r--engines/agi/sound.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/preagi.cpp b/engines/agi/preagi.cpp
index f92d5e8aa0..d455bc9dc4 100644
--- a/engines/agi/preagi.cpp
+++ b/engines/agi/preagi.cpp
@@ -118,7 +118,7 @@ void PreAgiEngine::initialize() {
//_sound->initSound();
_speakerStream = new Audio::PCSpeaker(_mixer->getOutputRate());
- _mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_speakerHandle,
+ _mixer->playStream(Audio::Mixer::kSFXSoundType, &_speakerHandle,
_speakerStream, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true);
diff --git a/engines/agi/sound.cpp b/engines/agi/sound.cpp
index 6b3ecab8f0..f46c6dae17 100644
--- a/engines/agi/sound.cpp
+++ b/engines/agi/sound.cpp
@@ -487,7 +487,7 @@ int SoundMgr::initSound() {
report("disabled\n");
}
- _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_soundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true);
+ _mixer->playStream(Audio::Mixer::kMusicSoundType, &_soundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true);
return r;
}