diff options
author | Johannes Schickel | 2010-01-05 20:13:31 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-05 20:13:31 +0000 |
commit | e9a94ecb9b6eb20cb7cdc4f838df3f9b049d2de6 (patch) | |
tree | 860360b7d34f7742c066537a6270a681b44ca751 /sound/audiostream.h | |
parent | 1712e223e2e520320a5ef4edfc8ad36cd82cc4a1 (diff) | |
download | scummvm-rg350-e9a94ecb9b6eb20cb7cdc4f838df3f9b049d2de6.tar.gz scummvm-rg350-e9a94ecb9b6eb20cb7cdc4f838df3f9b049d2de6.tar.bz2 scummvm-rg350-e9a94ecb9b6eb20cb7cdc4f838df3f9b049d2de6.zip |
Add a "getLength" function to SeekableAudioStream.
svn-id: r47036
Diffstat (limited to 'sound/audiostream.h')
-rw-r--r-- | sound/audiostream.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/audiostream.h b/sound/audiostream.h index 15e7ea6d33..a3992ca94f 100644 --- a/sound/audiostream.h +++ b/sound/audiostream.h @@ -157,6 +157,13 @@ public: * @return true on success, false on failure. */ virtual bool seek(const Timestamp &where) = 0; + + /** + * Returns the length of the stream. + * + * @return length as Timestamp. + */ + virtual Timestamp getLength() const = 0; }; |