diff options
author | Matthew Hoops | 2011-08-24 09:52:41 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-08-24 09:54:19 -0400 |
commit | 4e849092d23689f7a82f834e51279401b4349893 (patch) | |
tree | b46e5f751ec915ff55776300304308b4ea331c0c /audio/decoders/xa.h | |
parent | 40fd9ce27c8579f97e8ca5c0917366b1a069c5e9 (diff) | |
download | scummvm-rg350-4e849092d23689f7a82f834e51279401b4349893.tar.gz scummvm-rg350-4e849092d23689f7a82f834e51279401b4349893.tar.bz2 scummvm-rg350-4e849092d23689f7a82f834e51279401b4349893.zip |
AUDIO: Add a DisposeAfterUse parameter to makeXAStream
Diffstat (limited to 'audio/decoders/xa.h')
-rw-r--r-- | audio/decoders/xa.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/decoders/xa.h b/audio/decoders/xa.h index 68c07151da..cf28d8001a 100644 --- a/audio/decoders/xa.h +++ b/audio/decoders/xa.h @@ -31,6 +31,8 @@ #ifndef AUDIO_DECODERS_XA_H #define AUDIO_DECODERS_XA_H +#include "common/types.h" + namespace Common { class SeekableReadStream; } @@ -45,11 +47,13 @@ class RewindableAudioStream; * * @param stream the SeekableReadStream from which to read the XA ADPCM data * @param rate the sampling rate + * @param disposeAfterUse whether to delete the stream after use. * @return a new RewindableAudioStream, or NULL, if an error occurred */ RewindableAudioStream *makeXAStream( Common::SeekableReadStream *stream, - int rate); + int rate, + DisposeAfterUse::Flag disposeAfterUse = DisposeAfterUse::YES); } // End of namespace Audio |