diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/made/pmvplayer.cpp | 2 | ||||
-rw-r--r-- | engines/made/pmvplayer.h | 2 | ||||
-rw-r--r-- | engines/mohawk/video/qt_player.cpp | 4 | ||||
-rw-r--r-- | engines/mohawk/video/qt_player.h | 2 | ||||
-rw-r--r-- | engines/tinsel/bmv.cpp | 2 | ||||
-rw-r--r-- | engines/tinsel/bmv.h | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/engines/made/pmvplayer.cpp b/engines/made/pmvplayer.cpp index c0dad218c0..b0b1f0d70f 100644 --- a/engines/made/pmvplayer.cpp +++ b/engines/made/pmvplayer.cpp @@ -102,7 +102,7 @@ bool PmvPlayer::play(const char *filename) { // TODO: Sound can still be a little choppy. A bug in the decoder or - // perhaps more likely - do we have to implement double buffering to // get it to work well? - _audioStream = Audio::makeQueuedAudioStream(soundFreq, false); + _audioStream = Audio::makeQueuingAudioStream(soundFreq, false); while (!_vm->shouldQuit() && !_aborted && !_fd->eos() && frameNumber < frameCount) { diff --git a/engines/made/pmvplayer.h b/engines/made/pmvplayer.h index bfdda4fa2e..3a5295711d 100644 --- a/engines/made/pmvplayer.h +++ b/engines/made/pmvplayer.h @@ -50,7 +50,7 @@ protected: MadeEngine *_vm; Audio::Mixer *_mixer; Common::File *_fd; - Audio::QueuedAudioStream *_audioStream; + Audio::QueuingAudioStream *_audioStream; Audio::SoundHandle _audioStreamHandle; byte _paletteRGB[768]; Graphics::Surface *_surface; diff --git a/engines/mohawk/video/qt_player.cpp b/engines/mohawk/video/qt_player.cpp index d9d4a68dac..2f4c54abc4 100644 --- a/engines/mohawk/video/qt_player.cpp +++ b/engines/mohawk/video/qt_player.cpp @@ -148,7 +148,7 @@ void QTPlayer::reset() { stopAudio(); if (_audioStreamIndex >= 0) { _curAudioChunk = 0; - _audStream = Audio::makeQueuedAudioStream(_streams[_audioStreamIndex]->sample_rate, _streams[_audioStreamIndex]->channels == 2); + _audStream = Audio::makeQueuingAudioStream(_streams[_audioStreamIndex]->sample_rate, _streams[_audioStreamIndex]->channels == 2); } startAudio(); } @@ -304,7 +304,7 @@ bool QTPlayer::loadFile(Common::SeekableReadStream *stream) { } if (_audioStreamIndex >= 0 && checkAudioCodecSupport(_streams[_audioStreamIndex]->codec_tag)) { - _audStream = Audio::makeQueuedAudioStream(_streams[_audioStreamIndex]->sample_rate, _streams[_audioStreamIndex]->channels == 2); + _audStream = Audio::makeQueuingAudioStream(_streams[_audioStreamIndex]->sample_rate, _streams[_audioStreamIndex]->channels == 2); _curAudioChunk = 0; // Make sure the bits per sample transfers to the sample size diff --git a/engines/mohawk/video/qt_player.h b/engines/mohawk/video/qt_player.h index 5ff27a57c5..2d8f87f479 100644 --- a/engines/mohawk/video/qt_player.h +++ b/engines/mohawk/video/qt_player.h @@ -246,7 +246,7 @@ protected: void resetInternal(); uint32 getFrameDuration(); - Audio::QueuedAudioStream *_audStream; + Audio::QueuingAudioStream *_audStream; int8 _videoStreamIndex; int8 _audioStreamIndex; uint _curAudioChunk; diff --git a/engines/tinsel/bmv.cpp b/engines/tinsel/bmv.cpp index 0a6e6536a0..0bb13c2fab 100644 --- a/engines/tinsel/bmv.cpp +++ b/engines/tinsel/bmv.cpp @@ -423,7 +423,7 @@ void BMVPlayer::MoviePalette(int paletteOffset) { } void BMVPlayer::InitialiseMovieSound() { - _audioStream = Audio::makeQueuedAudioStream(22050, true); + _audioStream = Audio::makeQueuingAudioStream(22050, true); audioStarted = false; } diff --git a/engines/tinsel/bmv.h b/engines/tinsel/bmv.h index 82aadd5748..a0359d497d 100644 --- a/engines/tinsel/bmv.h +++ b/engines/tinsel/bmv.h @@ -113,7 +113,7 @@ class BMVPlayer { bool audioStarted; - Audio::QueuedAudioStream *_audioStream; + Audio::QueuingAudioStream *_audioStream; Audio::SoundHandle _audioHandle; int nextMaintain; |