projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20001125-3-src
[rocksndiamonds.git]
/
src
/
sound.h
diff --git
a/src/sound.h
b/src/sound.h
index 2e934709e2ee041ebb0be6cc40c9aada059d4b84..7ebdc65b26b0dd75b3bc2a8bdfea45cb1d0fd6b0 100644
(file)
--- a/
src/sound.h
+++ b/
src/sound.h
@@
-130,9
+130,14
@@
struct SoundInfo
char *name;
byte *data_ptr;
long data_len;
char *name;
byte *data_ptr;
long data_len;
+
#ifdef MSDOS
SAMPLE *sample_ptr;
#endif
#ifdef MSDOS
SAMPLE *sample_ptr;
#endif
+
+#ifdef TARGET_SDL
+ Mix_Chunk *mix_chunk;
+#endif
};
struct SoundControl
};
struct SoundControl
@@
-154,10
+159,15
@@
struct SoundControl
#endif
};
#endif
};
-/* start sound server */
+/* general sound functions */
+int OpenAudio(char *);
+int CheckAudio(char *);
+boolean UnixInitAudio(void);
+
+/* sound server functions */
void SoundServer(void);
void SoundServer(void);
-/* client functions */
+/*
sound
client functions */
boolean LoadSound(struct SoundInfo *);
void PlaySound(int);
void PlaySoundStereo(int, int);
boolean LoadSound(struct SoundInfo *);
void PlaySound(int);
void PlaySoundStereo(int, int);