projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19990109-2
[rocksndiamonds.git]
/
src
/
sound.c
diff --git
a/src/sound.c
b/src/sound.c
index d39a98612efdccc61df92dcf136e0e87f3392a0d..c9e13525dc94a1aa061f86c20a31c1805d387c54 100644
(file)
--- a/
src/sound.c
+++ b/
src/sound.c
@@
-39,9
+39,11
@@
static unsigned char playing_buffer[SND_BLOCKSIZE];
static void SoundServer_InsertNewSound(struct SoundControl);
#endif
#ifndef VOXWARE
static void SoundServer_InsertNewSound(struct SoundControl);
#endif
#ifndef VOXWARE
+#ifndef MSDOS
static unsigned char linear_to_ulaw(int);
static int ulaw_to_linear(unsigned char);
#endif
static unsigned char linear_to_ulaw(int);
static int ulaw_to_linear(unsigned char);
#endif
+#endif
#ifdef HPUX_AUDIO
static void HPUX_Audio_Control();
#endif
#ifdef HPUX_AUDIO
static void HPUX_Audio_Control();
#endif
@@
-567,6
+569,7
@@
static void HPUX_Audio_Control()
#endif /* HPUX_AUDIO */
#ifndef VOXWARE
#endif /* HPUX_AUDIO */
#ifndef VOXWARE
+#ifndef MSDOS
/* these two are stolen from "sox"... :) */
/*
/* these two are stolen from "sox"... :) */
/*
@@
-670,6
+673,7
@@
static int ulaw_to_linear(unsigned char ulawbyte)
return(sample);
}
return(sample);
}
+#endif /* !MSDOS */
#endif /* !VOXWARE */
/*** THE STUFF ABOVE IS ONLY USED BY THE SOUND SERVER CHILD PROCESS ***/
#endif /* !VOXWARE */
/*** THE STUFF ABOVE IS ONLY USED BY THE SOUND SERVER CHILD PROCESS ***/