diff options
author | Max Horn | 2006-03-03 15:51:33 +0000 |
---|---|---|
committer | Max Horn | 2006-03-03 15:51:33 +0000 |
commit | 140f6fce26ae3b710c5d37bcc4d08b6690a5d669 (patch) | |
tree | 2a087bdd6375b4245072888f17ccdc74776b4aba /engines/scumm/he | |
parent | 5833b3b0aafb87cc3a278011e2bf3f5f6e02ee22 (diff) | |
download | scummvm-rg350-140f6fce26ae3b710c5d37bcc4d08b6690a5d669.tar.gz scummvm-rg350-140f6fce26ae3b710c5d37bcc4d08b6690a5d669.tar.bz2 scummvm-rg350-140f6fce26ae3b710c5d37bcc4d08b6690a5d669.zip |
Hiding the implementation of ADPCMInputStream from the public, in favor of a factory function (just like with the other AudioStream subclasses)
svn-id: r21043
Diffstat (limited to 'engines/scumm/he')
-rw-r--r-- | engines/scumm/he/sound_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp index bb01ede275..06736ab29a 100644 --- a/engines/scumm/he/sound_he.cpp +++ b/engines/scumm/he/sound_he.cpp @@ -419,7 +419,7 @@ void Sound::playHESound(int soundID, int heOffset, int heChannel, int heFlags) { } if (compType == 17) { - AudioStream *voxStream = new ADPCMInputStream(&stream, size, kADPCMIma, (flags & Audio::Mixer::FLAG_STEREO) ? 2 : 1, blockAlign); + AudioStream *voxStream = makeADPCMStream(&stream, size, kADPCMIma, (flags & Audio::Mixer::FLAG_STEREO) ? 2 : 1, blockAlign); sound = (char *)malloc(size * 4); size = voxStream->readBuffer((int16*)sound, size * 2); |