diff options
author | Max Horn | 2010-01-23 13:34:29 +0000 |
---|---|---|
committer | Max Horn | 2010-01-23 13:34:29 +0000 |
commit | b036392a7b1c49a3a9d1ac0d0dd035feb7063058 (patch) | |
tree | fe364e82b44df12bfd9acfd1b3726a25c0f4f02c /engines/mohawk | |
parent | 7eb407be80857b27c718e4e6f22de61c4d88b183 (diff) | |
download | scummvm-rg350-b036392a7b1c49a3a9d1ac0d0dd035feb7063058.tar.gz scummvm-rg350-b036392a7b1c49a3a9d1ac0d0dd035feb7063058.tar.bz2 scummvm-rg350-b036392a7b1c49a3a9d1ac0d0dd035feb7063058.zip |
Get rid of deprecated makeRawDiskStream variants; rename deprecated makeRawMemoryStream variant to makeRawMemoryStream_OLD; adapt some code to this change
svn-id: r47472
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/video/qt_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/video/qt_player.cpp b/engines/mohawk/video/qt_player.cpp index e53818fe2e..f62968d383 100644 --- a/engines/mohawk/video/qt_player.cpp +++ b/engines/mohawk/video/qt_player.cpp @@ -1170,7 +1170,7 @@ Audio::AudioStream *QTPlayer::createAudioStream(Common::SeekableReadStream *stre byte *data = (byte *)malloc(dataSize); stream->read(data, dataSize); delete stream; - return Audio::makeRawMemoryStream(data, dataSize, DisposeAfterUse::YES, _streams[_audioStreamIndex]->sample_rate, flags, 0, 0); + return Audio::makeRawMemoryStream(data, dataSize, DisposeAfterUse::YES, _streams[_audioStreamIndex]->sample_rate, flags); } else if (_streams[_audioStreamIndex]->codec_tag == MKID_BE('ima4')) { // Riven uses this codec (as do some Myst ME videos) return Audio::makeADPCMStream(stream, true, stream->size(), Audio::kADPCMApple, _streams[_audioStreamIndex]->sample_rate, _streams[_audioStreamIndex]->channels, 34); |