$NetBSD: patch-at,v 1.2 2003/01/19 21:31:13 hubertf Exp $ --- soundio.c.orig Sun Dec 8 03:53:08 2002 +++ soundio.c @@ -84,6 +84,9 @@ # define _pclose pclose # endif #endif +#ifdef NETBSDRTAUDIO +#include "rtNetBSD.h" +#endif void (*spinrecv)(void), (*spoutran)(void), (*nzerotran)(long); static void byterecv(void), charrecv(void), alawrecv(void), ulawrecv(void), shortrecv(void),longrecv(void), floatrecv(void); @@ -499,6 +502,10 @@ || strncmp(O.outfilename,"dac", 3) ==0 # ifdef LINUX || strcmp(O.outfilename,"/dev/dsp") ==0 +# endif +# ifdef __NetBSD__ + || strncmp(O.outfilename,"/dev/audio",10) ==0 + || strncmp(O.outfilename,"/dev/sound",10) ==0 # endif || strcmp(O.outfilename,"dac") == 0) { #if defined(WIN32) || defined(HAVE_ALSA)