projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19990107-2
[rocksndiamonds.git]
/
src
/
sound.c
diff --git
a/src/sound.c
b/src/sound.c
index 340ec942b8ebc30d25e62107bdf02a28e30498c5..d39a98612efdccc61df92dcf136e0e87f3392a0d 100644
(file)
--- a/
src/sound.c
+++ b/
src/sound.c
@@
-498,6
+498,7
@@
void SoundServer_FadeSound(int nr)
}
*/
}
*/
+#ifdef MSDOS
static void SoundServer_StopSound(int nr)
{
int i;
static void SoundServer_StopSound(int nr)
{
int i;
@@
-540,6
+541,7
@@
static void SoundServer_StopAllSounds()
close(sound_device);
#endif
}
close(sound_device);
#endif
}
+#endif /* MSDOS */
#ifdef HPUX_AUDIO
static void HPUX_Audio_Control()
#ifdef HPUX_AUDIO
static void HPUX_Audio_Control()
@@
-564,6
+566,7
@@
static void HPUX_Audio_Control()
}
#endif /* HPUX_AUDIO */
}
#endif /* HPUX_AUDIO */
+#ifndef VOXWARE
/* these two are stolen from "sox"... :) */
/*
/* these two are stolen from "sox"... :) */
/*
@@
-667,6
+670,7
@@
static int ulaw_to_linear(unsigned char ulawbyte)
return(sample);
}
return(sample);
}
+#endif /* !VOXWARE */
/*** THE STUFF ABOVE IS ONLY USED BY THE SOUND SERVER CHILD PROCESS ***/
/*** THE STUFF ABOVE IS ONLY USED BY THE SOUND SERVER CHILD PROCESS ***/