aboutsummaryrefslogtreecommitdiff
path: root/sound/audiostream.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/audiostream.h')
-rw-r--r--sound/audiostream.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/audiostream.h b/sound/audiostream.h
index 6611018c3d..04c0c4fc9f 100644
--- a/sound/audiostream.h
+++ b/sound/audiostream.h
@@ -53,6 +53,11 @@ public:
virtual bool eof() const = 0;
};
+class LinearAudioInputStream : public AudioInputStream {
+public:
+ virtual void reset(const byte *data, uint32 len) = 0;
+};
+
class WrappedAudioInputStream : public AudioInputStream {
public:
virtual void append(const byte *data, uint32 len) = 0;
@@ -118,7 +123,7 @@ public:
-AudioInputStream *makeLinearInputStream(byte _flags, const byte *ptr, uint32 len);
+LinearAudioInputStream *makeLinearInputStream(byte _flags, const byte *ptr, uint32 len);
WrappedAudioInputStream *makeWrappedInputStream(byte _flags, uint32 len);