rnd-19970921-src
[rocksndiamonds.git] / src / sound.h
index be853f8c2723e356a8b56ab39235d97206b01c3e..089c44fbcb9c2ef620c59fd4b9c4cc30c5861c3f 100644 (file)
@@ -10,8 +10,6 @@
 *               q99492@pbhrzx.uni-paderborn.de             *
 *----------------------------------------------------------*
 *  sound.c                                                 *
-*                                                          *
-*  Letzte Aenderung: 15.06.1995                            *
 ***********************************************************/
 
 #ifndef SOUND_H
 extern void ioctl(long, long, void *);
 #endif
 
+#ifdef __FreeBSD__
+#include <machine/soundcard.h>
+#endif
+
 #define SND_BLOCKSIZE 4096
 
 #ifdef _HPUX_SOURCE
@@ -108,8 +110,9 @@ struct SoundHeader_8SVX
 
 struct SoundInfo
 { 
-  char *name;
-  char *file_ptr, *data_ptr;
+  unsigned char *name;
+  unsigned char *file_ptr;
+  char *data_ptr;
   long file_len, data_len;
 };
 
@@ -129,9 +132,6 @@ struct SoundControl
   char *data_ptr;
 };
 
-/* function from "misc.c" */
-unsigned long be2long(unsigned long *);
-
 /* sound server functions */
 void SoundServer(void);
 void SoundServer_InsertNewSound(struct SoundControl);