From 5398ef1532fc5839d0ee4c4c15de0bc7c826476d Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 10 Feb 2006 16:39:56 +0000 Subject: Added support for compressed speech in the engine (I only tried ogg and flac I guess mp3 should work too...) Also changed some formatting. svn-id: r20480 --- kyra/sound.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'kyra/sound.h') diff --git a/kyra/sound.h b/kyra/sound.h index 150ee4c927..7af201cd9f 100644 --- a/kyra/sound.h +++ b/kyra/sound.h @@ -141,6 +141,14 @@ protected: Audio::Mixer *_mixer; AudioStream *_currentVocFile; Audio::SoundHandle _vocHandle; + Common::File _compressHandle; + + struct SpeechCodecs { + const char *fileext; + AudioStream *(*streamFunc)(Common::File*, uint32); + }; + + static const SpeechCodecs _supportedCodes[]; }; } // end of namespace Kyra -- cgit v1.2.3