rnd-20001125-3-src
[rocksndiamonds.git] / src / sound.h
index 2e934709e2ee041ebb0be6cc40c9aada059d4b84..7ebdc65b26b0dd75b3bc2a8bdfea45cb1d0fd6b0 100644 (file)
@@ -130,9 +130,14 @@ struct SoundInfo
   char *name;
   byte *data_ptr;
   long data_len;
+
 #ifdef MSDOS
   SAMPLE *sample_ptr;
 #endif
+
+#ifdef TARGET_SDL
+  Mix_Chunk *mix_chunk;
+#endif
 };
 
 struct SoundControl
@@ -154,10 +159,15 @@ struct SoundControl
 #endif
 };
 
-/* start sound server */
+/* general sound functions */
+int OpenAudio(char *);
+int CheckAudio(char *);
+boolean UnixInitAudio(void);
+
+/* sound server functions */ 
 void SoundServer(void);
 
-/* client functions */
+/* sound client functions */
 boolean LoadSound(struct SoundInfo *);
 void PlaySound(int);
 void PlaySoundStereo(int, int);