From 6ca0570fe3bb3f3765677ff8cd3f9e0cbf062d6b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 10 Jan 2010 15:20:14 +0000 Subject: - Add a SubLoopingAudioStream, which loops a nested part of a stream and thus features the same looping capabilites as LinearMemoryStream and LinearDiskStream. - Remove custom looping code from LinearMemoryStream and LinearDiskStream. - Adapt various client code to the changes. svn-id: r47226 --- sound/aiff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/aiff.cpp') diff --git a/sound/aiff.cpp b/sound/aiff.cpp index 69fb806420..6ac9a45372 100644 --- a/sound/aiff.cpp +++ b/sound/aiff.cpp @@ -174,7 +174,7 @@ SeekableAudioStream *makeAIFFStream(Common::SeekableReadStream &stream) { // Since we allocated our own buffer for the data, we must set the autofree flag. flags |= Audio::Mixer::FLAG_AUTOFREE; - return makeLinearInputStream(data, size, rate, flags, 0, 0); + return makeLinearInputStream(data, size, rate, flags); } } // End of namespace Audio -- cgit v1.2.3