Displaying 1 result from an estimated 1 matches for "ao_oss_parse_opt".
2000 Jul 31
0
NetBSD patches
...+++ vorbis-tools/libao/ao_oss.c 2000/07/30 03:12:05
@@ -32,6 +32,8 @@
#include <math.h>
#if defined(__OpenBSD__)
#include <soundcard.h>
+#elif defined(__NetBSD__)
+#include <soundcard.h>
#elif defined(__FreeBSD__)
#include <machine/soundcard.h>
#else
@@ -69,7 +71,11 @@ ao_oss_parse_options(ao_oss_internal_t *
}
if (state->dev == NULL)
+#ifdef __NetBSD__
+ state->dev = strdup("/dev/audio");
+#else
state->dev = strdup("/dev/dsp");
+#endif
}
/*
Index: vorbis-tools/libao/configure.in
==============================...