aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-30 15:26:54 +0000
committerJohannes Schickel2010-01-30 15:26:54 +0000
commita505d32eff97e31ac73495e202f9c01f6490dcf8 (patch)
tree30e61278463fd597ec20044fc2036f4ef0f29d08 /engines/agos
parent8e3646e062528d1604d28676fa2faec5c5ac878b (diff)
downloadscummvm-rg350-a505d32eff97e31ac73495e202f9c01f6490dcf8.tar.gz
scummvm-rg350-a505d32eff97e31ac73495e202f9c01f6490dcf8.tar.bz2
scummvm-rg350-a505d32eff97e31ac73495e202f9c01f6490dcf8.zip
Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
svn-id: r47716
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/sound.cpp b/engines/agos/sound.cpp
index ee10cd6a5a..6f7aebc5b9 100644
--- a/engines/agos/sound.cpp
+++ b/engines/agos/sound.cpp
@@ -292,7 +292,7 @@ Audio::AudioStream *RawSound::makeAudioStream(uint sound) {
assert(buffer);
_file->read(buffer, size);
- return Audio::makeRawMemoryStream(buffer, size, 22050, _flags);
+ return Audio::makeRawStream(buffer, size, 22050, _flags);
}
void RawSound::playSound(uint sound, uint loopSound, Audio::Mixer::SoundType type, Audio::SoundHandle *handle, bool loop, int vol) {
@@ -737,7 +737,7 @@ void Sound::playRawData(byte *soundData, uint sound, uint size, uint freq) {
if (_vm->getPlatform() == Common::kPlatformPC)
flags = Audio::FLAG_UNSIGNED;
- Audio::AudioStream *stream = Audio::makeRawMemoryStream(buffer, size, freq, flags);
+ Audio::AudioStream *stream = Audio::makeRawStream(buffer, size, freq, flags);
_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_effectsHandle, stream);
}