aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound_towns.cpp
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/kyra/sound_towns.cpp
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/kyra/sound_towns.cpp')
-rw-r--r--engines/kyra/sound_towns.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp
index 1c88f8e878..aab8373c61 100644
--- a/engines/kyra/sound_towns.cpp
+++ b/engines/kyra/sound_towns.cpp
@@ -3925,7 +3925,7 @@ void SoundTowns::playSoundEffect(uint8 track) {
uint32 outputRate = uint32(11025 * calculatePhaseStep(note, sfxRootNoteOffs, sfxRate, 11025, 0x2000));
- _currentSFX = Audio::makeRawMemoryStream(sfxPlaybackBuffer, playbackBufferSize,
+ _currentSFX = Audio::makeRawStream(sfxPlaybackBuffer, playbackBufferSize,
outputRate, Audio::FLAG_UNSIGNED | Audio::FLAG_LITTLE_ENDIAN);
_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_sfxHandle, _currentSFX);
}
@@ -4297,7 +4297,7 @@ int32 SoundTownsPC98_v2::voicePlay(const char *file, Audio::SoundHandle *handle,
uint32 outputRate = uint32(11025 * SoundTowns::calculatePhaseStep(0x3c, 0x3c, sfxRate, 11025, 0x2000));
- _currentSFX = Audio::makeRawMemoryStream(sfx, outsize, outputRate,
+ _currentSFX = Audio::makeRawStream(sfx, outsize, outputRate,
Audio::FLAG_UNSIGNED | Audio::FLAG_LITTLE_ENDIAN);
_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_soundChannels[h], _currentSFX);
if (handle)