char *name;
byte *data_ptr;
long data_len;
+
#ifdef MSDOS
SAMPLE *sample_ptr;
#endif
+
+#ifdef TARGET_SDL
+ Mix_Chunk *mix_chunk;
+#endif
};
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);