aboutsummaryrefslogtreecommitdiff
path: root/kyra/sound.h
diff options
context:
space:
mode:
authorJohannes Schickel2006-02-10 16:39:56 +0000
committerJohannes Schickel2006-02-10 16:39:56 +0000
commit5398ef1532fc5839d0ee4c4c15de0bc7c826476d (patch)
tree361252441a2a8a1f65ce3d05fe3d743867a8e714 /kyra/sound.h
parent410261e8b443f70c5d98bb16a11274d3778537cf (diff)
downloadscummvm-rg350-5398ef1532fc5839d0ee4c4c15de0bc7c826476d.tar.gz
scummvm-rg350-5398ef1532fc5839d0ee4c4c15de0bc7c826476d.tar.bz2
scummvm-rg350-5398ef1532fc5839d0ee4c4c15de0bc7c826476d.zip
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
Diffstat (limited to 'kyra/sound.h')
-rw-r--r--kyra/sound.h8
1 files changed, 8 insertions, 0 deletions
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