aboutsummaryrefslogtreecommitdiff
path: root/gob/sound.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-04-30 11:32:18 +0000
committerTorbjörn Andersson2005-04-30 11:32:18 +0000
commitac989534a78aba7d75839493c109ada5ce0ab383 (patch)
treefcf9f80ab921ef29e1aeb2294bdd553af2d26a6b /gob/sound.h
parent211da446cc4937a6eb736bdcd1e9cf354bdf44ef (diff)
downloadscummvm-rg350-ac989534a78aba7d75839493c109ada5ce0ab383.tar.gz
scummvm-rg350-ac989534a78aba7d75839493c109ada5ce0ab383.tar.bz2
scummvm-rg350-ac989534a78aba7d75839493c109ada5ce0ab383.zip
Support for looping sounds.
svn-id: r17872
Diffstat (limited to 'gob/sound.h')
-rw-r--r--gob/sound.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gob/sound.h b/gob/sound.h
index bffe28dd68..e2a472007a 100644
--- a/gob/sound.h
+++ b/gob/sound.h
@@ -24,6 +24,8 @@
namespace Gob {
+void snd_initSound(void);
+void snd_loopSounds(void);
int16 snd_checkProAudio(void);
int16 snd_checkAdlib(void);
int16 snd_checkBlaster(void);
@@ -42,8 +44,10 @@ extern CleanupFuncPtr snd_cleanupFunc;
void snd_writeAdlib(int16 port, int16 data);
typedef struct Snd_SoundDesc {
+ SoundHandle handle;
char *data;
int32 size;
+ int16 repCount;
int16 timerTicks;
int16 inClocks;
int16 frequency;