aboutsummaryrefslogtreecommitdiff
path: root/sound/mp3.h
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-05 02:27:24 +0000
committerJohannes Schickel2010-01-05 02:27:24 +0000
commitf5c3bd887e2257fc7fdfb0d141ddbae592f1e83b (patch)
treeebbd8705d76d5d23a2b217f7bd31012afe271d2c /sound/mp3.h
parent00e48f687ff0b0302383abfb9971f5420dc3c265 (diff)
downloadscummvm-rg350-f5c3bd887e2257fc7fdfb0d141ddbae592f1e83b.tar.gz
scummvm-rg350-f5c3bd887e2257fc7fdfb0d141ddbae592f1e83b.tar.bz2
scummvm-rg350-f5c3bd887e2257fc7fdfb0d141ddbae592f1e83b.zip
- Add a new SeekableAudioStream interface. Soon to be used to replace audio stream specific looping code by generic code in Mixer...
- Adapted some existing AudioStreams to implement that interface (not tested!) svn-id: r47013
Diffstat (limited to 'sound/mp3.h')
-rw-r--r--sound/mp3.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mp3.h b/sound/mp3.h
index 2ea07ab0a8..544f4861ba 100644
--- a/sound/mp3.h
+++ b/sound/mp3.h
@@ -51,7 +51,7 @@ namespace Common {
namespace Audio {
-class AudioStream;
+class SeekableAudioStream;
/**
* Create a new AudioStream from the MP3 data in the given stream.
@@ -66,7 +66,7 @@ class AudioStream;
* @param numLoops how often the data shall be looped (0 = infinite)
* @return a new AudioStream, or NULL, if an error occured
*/
-AudioStream *makeMP3Stream(
+SeekableAudioStream *makeMP3Stream(
Common::SeekableReadStream *stream,
bool disposeAfterUse,
uint32 startTime = 0,