diff src/s/netbsd.h @ 30079:1572612184fc

Sound support for NetBSD through "Linux emulation" support: * config.in (HAVE_SOUNDCARD_H): Undef. (HAVE_SOUND): Define if HAVE_SOUNDCARD_H. * Makefile.in (LIBSOUND): New variable. (LIBES): Include it. * sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and <soundcard.h>. (DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined elsewhere. (vox_open): Use DEFAULT_SOUND_DEVICE. * s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio.
author Ken Raeburn <raeburn@raeburn.org>
date Wed, 05 Jul 2000 19:33:00 +0000
parents ddad63427df2
children 9a247156dd7e
line wrap: on
line diff
--- a/src/s/netbsd.h	Wed Jul 05 19:18:52 2000 +0000
+++ b/src/s/netbsd.h	Wed Jul 05 19:33:00 2000 +0000
@@ -87,3 +87,5 @@
 #define LINKER $(CC) -nostartfiles
 
 #define NARROWPROTO 1
+
+#define DEFAULT_SOUND_DEVICE "/dev/audio"