aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.h
diff options
context:
space:
mode:
authorTravis Howell2002-10-27 11:41:08 +0000
committerTravis Howell2002-10-27 11:41:08 +0000
commita0734ef3f987d1716440e81b5e571c00d3ed891c (patch)
treec7ec6dba77324497b485c5467a88c37ed4380c27 /scumm/sound.h
parentd5473c6f5a7752503bbfc2be46c1ce3fd73d03f3 (diff)
downloadscummvm-rg350-a0734ef3f987d1716440e81b5e571c00d3ed891c.tar.gz
scummvm-rg350-a0734ef3f987d1716440e81b5e571c00d3ed891c.tar.bz2
scummvm-rg350-a0734ef3f987d1716440e81b5e571c00d3ed891c.zip
Add monster.sog support, patch #629362
Enable ogg support by default in mingw builds and link in ogg lib svn-id: r5333
Diffstat (limited to 'scumm/sound.h')
-rw-r--r--scumm/sound.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/sound.h b/scumm/sound.h
index 635fda5531..503d5a5872 100644
--- a/scumm/sound.h
+++ b/scumm/sound.h
@@ -68,6 +68,7 @@ enum {
#ifdef COMPRESSED_SOUND_FILE
MP3OffsetTable *offset_table; // SO3 MP3 compressed audio
int num_sound_effects; // SO3 MP3 compressed audio
+ bool _vorbis_mode; // true if using SOG, false if using SO3
#define CACHE_TRACKS 10
@@ -171,6 +172,7 @@ public:
byte * readCreativeVocFile(byte * ptr, uint32 & size, uint32 & rate, uint32 & loops);
int playSfxSound(void *sound, uint32 size, uint rate, bool isUnsigned);
int playSfxSound_MP3(void *sound, uint32 size);
+ int playSfxSound_Vorbis(void *sound, uint32 size);
int readCDTimer();
void startCDTimer();