aboutsummaryrefslogtreecommitdiff
path: root/sound/audiostream.h
diff options
context:
space:
mode:
authorMax Horn2003-12-17 01:50:50 +0000
committerMax Horn2003-12-17 01:50:50 +0000
commit4343567458cefe5de8f3493040c79af9f4cdd50a (patch)
tree9f7e4575e8e97e2b23613336a3298feee609788d /sound/audiostream.h
parent34d1751fe402936455fc8b57b28cb6c3eda11285 (diff)
downloadscummvm-rg350-4343567458cefe5de8f3493040c79af9f4cdd50a.tar.gz
scummvm-rg350-4343567458cefe5de8f3493040c79af9f4cdd50a.tar.bz2
scummvm-rg350-4343567458cefe5de8f3493040c79af9f4cdd50a.zip
changed the way 'streams' are handled: the finalization logic is now in the WrappedAudioInputStream; this allows further streamlining of the channel/mixer code (can you already guess what I am working towards? :-)
svn-id: r11696
Diffstat (limited to 'sound/audiostream.h')
-rw-r--r--sound/audiostream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/audiostream.h b/sound/audiostream.h
index ca51e047e8..5e8455cc5a 100644
--- a/sound/audiostream.h
+++ b/sound/audiostream.h
@@ -83,6 +83,7 @@ public:
class WrappedAudioInputStream : public AudioInputStream {
public:
virtual void append(const byte *data, uint32 len) = 0;
+ virtual void finish() = 0;
};
class ZeroInputStream : public AudioInputStream {