diff options
author | Matthew Hoops | 2011-07-10 15:46:35 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-07-10 15:50:47 -0400 |
commit | 46aabed3f5bdb3549e3c804793b5198de4b1702c (patch) | |
tree | d59803c4d48e42edacb28aa62ec7d31390a0c03d /audio/decoders/qdm2.h | |
parent | c46aa548d6d8a1eabb968bfd0152215490bf746c (diff) | |
download | scummvm-rg350-46aabed3f5bdb3549e3c804793b5198de4b1702c.tar.gz scummvm-rg350-46aabed3f5bdb3549e3c804793b5198de4b1702c.tar.bz2 scummvm-rg350-46aabed3f5bdb3549e3c804793b5198de4b1702c.zip |
AUDIO: Fix QDM2 sound in QuickTime files
Diffstat (limited to 'audio/decoders/qdm2.h')
-rw-r--r-- | audio/decoders/qdm2.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/audio/decoders/qdm2.h b/audio/decoders/qdm2.h index c0ec647bfd..f0793e3c1e 100644 --- a/audio/decoders/qdm2.h +++ b/audio/decoders/qdm2.h @@ -26,22 +26,25 @@ #ifndef AUDIO_QDM2_H #define AUDIO_QDM2_H +#include "common/types.h" + namespace Common { class SeekableReadStream; } namespace Audio { -class AudioStream; +class Codec; /** - * Create a new AudioStream from the QDM2 data in the given stream. + * Create a new Codec from the QDM2 data in the given stream. * - * @param stream the SeekableReadStream from which to read the FLAC data - * @param extraData the QuickTime extra data stream - * @return a new AudioStream, or NULL, if an error occurred + * @param extraData the QuickTime extra data stream + * @param disposeExtraData the QuickTime extra data stream + * @return a new Codec, or NULL, if an error occurred */ -AudioStream *makeQDM2Stream(Common::SeekableReadStream *stream, Common::SeekableReadStream *extraData); +Codec *makeQDM2Decoder(Common::SeekableReadStream *extraData, + DisposeAfterUse::Flag disposeExtraData = DisposeAfterUse::NO); } // End of namespace Audio |