projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19980903
[rocksndiamonds.git]
/
src
/
sound.h
diff --git
a/src/sound.h
b/src/sound.h
index be853f8c2723e356a8b56ab39235d97206b01c3e..089c44fbcb9c2ef620c59fd4b9c4cc30c5861c3f 100644
(file)
--- a/
src/sound.h
+++ b/
src/sound.h
@@
-10,8
+10,6
@@
* q99492@pbhrzx.uni-paderborn.de *
*----------------------------------------------------------*
* sound.c *
* q99492@pbhrzx.uni-paderborn.de *
*----------------------------------------------------------*
* sound.c *
-* *
-* Letzte Aenderung: 15.06.1995 *
***********************************************************/
#ifndef SOUND_H
***********************************************************/
#ifndef SOUND_H
@@
-29,6
+27,10
@@
extern void ioctl(long, long, void *);
#endif
extern void ioctl(long, long, void *);
#endif
+#ifdef __FreeBSD__
+#include <machine/soundcard.h>
+#endif
+
#define SND_BLOCKSIZE 4096
#ifdef _HPUX_SOURCE
#define SND_BLOCKSIZE 4096
#ifdef _HPUX_SOURCE
@@
-108,8
+110,9
@@
struct SoundHeader_8SVX
struct SoundInfo
{
struct SoundInfo
{
- char *name;
- char *file_ptr, *data_ptr;
+ unsigned char *name;
+ unsigned char *file_ptr;
+ char *data_ptr;
long file_len, data_len;
};
long file_len, data_len;
};
@@
-129,9
+132,6
@@
struct SoundControl
char *data_ptr;
};
char *data_ptr;
};
-/* function from "misc.c" */
-unsigned long be2long(unsigned long *);
-
/* sound server functions */
void SoundServer(void);
void SoundServer_InsertNewSound(struct SoundControl);
/* sound server functions */
void SoundServer(void);
void SoundServer_InsertNewSound(struct SoundControl);