diff options
author | Johannes Schickel | 2010-01-05 20:14:28 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-05 20:14:28 +0000 |
commit | 920dac2f9d271889ffdc6c05313c89a6077ec2d2 (patch) | |
tree | 5ca24942081a5171605aea463febd5a06860d5ac /sound/vorbis.cpp | |
parent | e9a94ecb9b6eb20cb7cdc4f838df3f9b049d2de6 (diff) | |
download | scummvm-rg350-920dac2f9d271889ffdc6c05313c89a6077ec2d2.tar.gz scummvm-rg350-920dac2f9d271889ffdc6c05313c89a6077ec2d2.tar.bz2 scummvm-rg350-920dac2f9d271889ffdc6c05313c89a6077ec2d2.zip |
Remove unsafe getTotalPlayTime from AudioStream.
svn-id: r47037
Diffstat (limited to 'sound/vorbis.cpp')
-rw-r--r-- | sound/vorbis.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sound/vorbis.cpp b/sound/vorbis.cpp index a130ecc5ec..629c36b3db 100644 --- a/sound/vorbis.cpp +++ b/sound/vorbis.cpp @@ -127,17 +127,6 @@ public: } uint getNumPlayedLoops() { return _numPlayedLoops; } - int32 getTotalPlayTime() const { - if (!_numLoops) - return AudioStream::kUnknownPlayTime; - -#ifdef USE_TREMOR - return (_endTime - _startTime) * _numLoops; -#else - return (int32)((_endTime - _startTime) * 1000.0) * _numLoops; -#endif - } - bool seek(const Timestamp &where); // TODO: Maybe we can have a more precise implementation of this Timestamp getLength() const { |