aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMax Horn2010-01-19 23:51:38 +0000
committerMax Horn2010-01-19 23:51:38 +0000
commit7ea3f6e3ed3975c76554beaaac8607f4bc76f35b (patch)
treed59445ef90b2bccfee37460c24d0305849a5680c /sound
parentcebaa0b0d305aecbdd60424eff1890ebde66312a (diff)
downloadscummvm-rg350-7ea3f6e3ed3975c76554beaaac8607f4bc76f35b.tar.gz
scummvm-rg350-7ea3f6e3ed3975c76554beaaac8607f4bc76f35b.tar.bz2
scummvm-rg350-7ea3f6e3ed3975c76554beaaac8607f4bc76f35b.zip
The Shorten audio decoder doesn't seem to use looping, so use the non-deprecated version of makeRawMemoryStream
svn-id: r47398
Diffstat (limited to 'sound')
-rw-r--r--sound/shorten.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/shorten.cpp b/sound/shorten.cpp
index 48d82dadf7..eeaac5ae98 100644
--- a/sound/shorten.cpp
+++ b/sound/shorten.cpp
@@ -524,7 +524,7 @@ AudioStream *makeShortenStream(Common::SeekableReadStream &stream) {
return 0;
// Since we allocated our own buffer for the data, we must specify DisposeAfterUse::YES.
- return makeRawMemoryStream(data, size, DisposeAfterUse::YES, rate, flags, 0, 0);
+ return makeRawMemoryStream(data, size, DisposeAfterUse::YES, rate, flags);
}
} // End of namespace Audio