From 67b72cc5a81b64697efc30098b3a36f2b102f3bb Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Wed, 10 May 2017 00:35:49 -0500 Subject: SCI: Remove unused Robot code from SCI16 audio code --- engines/sci/sound/audio.cpp | 5 ----- engines/sci/sound/audio.h | 1 - 2 files changed, 6 deletions(-) (limited to 'engines/sci/sound') diff --git a/engines/sci/sound/audio.cpp b/engines/sci/sound/audio.cpp index 273c4c1a0d..ad5dec6289 100644 --- a/engines/sci/sound/audio.cpp +++ b/engines/sci/sound/audio.cpp @@ -329,11 +329,6 @@ static byte *readSOLAudio(Common::SeekableReadStream *audioStream, uint32 &size, return buffer; } -byte *AudioPlayer::getDecodedRobotAudioFrame(Common::SeekableReadStream *str, uint32 encodedSize) { - byte flags = 0; - return readSOLAudio(str, encodedSize, kSolFlagCompressed | kSolFlag16Bit, flags); -} - Audio::RewindableAudioStream *AudioPlayer::getAudioStream(uint32 number, uint32 volume, int *sampleLen) { Audio::SeekableAudioStream *audioSeekStream = 0; Audio::RewindableAudioStream *audioStream = 0; diff --git a/engines/sci/sound/audio.h b/engines/sci/sound/audio.h index 3d25dcaeef..4d0d3115e8 100644 --- a/engines/sci/sound/audio.h +++ b/engines/sci/sound/audio.h @@ -61,7 +61,6 @@ public: void setAudioRate(uint16 rate) { _audioRate = rate; } Audio::SoundHandle *getAudioHandle() { return &_audioHandle; } Audio::RewindableAudioStream *getAudioStream(uint32 number, uint32 volume, int *sampleLen); - byte *getDecodedRobotAudioFrame(Common::SeekableReadStream *str, uint32 encodedSize); int getAudioPosition(); int startAudio(uint16 module, uint32 tuple); int wPlayAudio(uint16 module, uint32 tuple); -- cgit v1.2.3