diff options
author | Colin Snover | 2017-05-10 00:35:49 -0500 |
---|---|---|
committer | Colin Snover | 2017-05-10 10:55:00 -0500 |
commit | 67b72cc5a81b64697efc30098b3a36f2b102f3bb (patch) | |
tree | 1a4fc783e46ce054b0b4b401a4f9d6150afbcec9 | |
parent | dd13c3be43b2566d7ee6449be7918a86428bb4da (diff) | |
download | scummvm-rg350-67b72cc5a81b64697efc30098b3a36f2b102f3bb.tar.gz scummvm-rg350-67b72cc5a81b64697efc30098b3a36f2b102f3bb.tar.bz2 scummvm-rg350-67b72cc5a81b64697efc30098b3a36f2b102f3bb.zip |
SCI: Remove unused Robot code from SCI16 audio code
-rw-r--r-- | engines/sci/sound/audio.cpp | 5 | ||||
-rw-r--r-- | engines/sci/sound/audio.h | 1 |
2 files changed, 0 insertions, 6 deletions
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); |