aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-06 00:00:25 +0000
committerJohannes Schickel2010-01-06 00:00:25 +0000
commit0e420431fdfa826f555cb7fb2236e950c7341595 (patch)
treed294e5cbb4f6ffe7da726d9364316e341548c69a /engines/kyra/sound.cpp
parent81a94a06444fcefa8645b26ba34a5ee0e45851db (diff)
downloadscummvm-rg350-0e420431fdfa826f555cb7fb2236e950c7341595.tar.gz
scummvm-rg350-0e420431fdfa826f555cb7fb2236e950c7341595.tar.bz2
scummvm-rg350-0e420431fdfa826f555cb7fb2236e950c7341595.zip
Adapt KYRA to use the new FLAC, Vorbis and MP3 factories.
svn-id: r47062
Diffstat (limited to 'engines/kyra/sound.cpp')
-rw-r--r--engines/kyra/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp
index 34c9b3d223..4049d2b456 100644
--- a/engines/kyra/sound.cpp
+++ b/engines/kyra/sound.cpp
@@ -97,7 +97,7 @@ Audio::SeekableAudioStream *Sound::getVoiceStream(const char *file) {
if (!stream)
continue;
- audioStream = _supportedCodecs[i].streamFunc(stream, true, 0, 0, 1);
+ audioStream = _supportedCodecs[i].streamFunc(stream, true);
break;
}
@@ -241,7 +241,7 @@ namespace {
// A simple wrapper to create VOC streams the way like creating MP3, OGG/Vorbis and FLAC streams.
// Possible TODO: Think of making this complete and moving it to sound/voc.cpp ?
-Audio::SeekableAudioStream *makeVOCStream(Common::SeekableReadStream *stream, bool disposeAfterUse, uint32 startTime, uint32 duration, uint numLoops) {
+Audio::SeekableAudioStream *makeVOCStream(Common::SeekableReadStream *stream, bool disposeAfterUse) {
#ifdef STREAM_AUDIO_FROM_DISK
Audio::SeekableAudioStream *as = Audio::makeVOCStream(*stream, Audio::Mixer::FLAG_UNSIGNED, 0, 0, disposeAfterUse);