summaryrefslogtreecommitdiff
path: root/audio/sweep/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sweep/patches/patch-aa')
-rw-r--r--audio/sweep/patches/patch-aa27
1 files changed, 13 insertions, 14 deletions
diff --git a/audio/sweep/patches/patch-aa b/audio/sweep/patches/patch-aa
index fc03148e5cf..bc4c4d09915 100644
--- a/audio/sweep/patches/patch-aa
+++ b/audio/sweep/patches/patch-aa
@@ -1,17 +1,16 @@
-$NetBSD: patch-aa,v 1.2 2003/01/30 23:09:06 jmmv Exp $
+$NetBSD: patch-aa,v 1.3 2003/04/30 17:13:02 jmmv Exp $
---- src/driver_oss.c.orig Sat Jan 18 04:57:43 2003
+--- src/driver_oss.c.orig 2003-04-27 07:37:14.000000000 +0200
+++ src/driver_oss.c
-@@ -49,7 +49,7 @@
- #ifdef DRIVER_OSS
+@@ -85,6 +85,7 @@ oss_get_names (void)
+ {
+ GList * names = NULL;
- #include <sys/soundcard.h>
--#define DEV_DSP "/dev/dsp"
-+#define DEV_DSP DEVOSSAUDIO
- #define MONITOR_DEV_DSP "/dev/dsp1"
-
- #define DEFAULT_LOG_FRAGS 6
-@@ -778,6 +778,7 @@ setup_dev_dsp (sw_handle * handle, sw_fo
++ names = g_list_append (names, DEVOSSAUDIO);
+ names = g_list_append (names, "/dev/dsp");
+ names = g_list_append (names, "/dev/dsp1");
+ names = g_list_append (names, "/dev/sound/dsp");
+@@ -212,6 +213,7 @@ setup_dev_dsp (sw_handle * handle, sw_fo
exit (1) ;
}
@@ -19,11 +18,11 @@ $NetBSD: patch-aa,v 1.2 2003/01/30 23:09:06 jmmv Exp $
fmt = AFMT_QUERY;
if ((error = ioctl (dev_dsp, SOUND_PCM_SETFMT, &fmt)) != 0) {
perror ("open_dsp_device 8") ;
-@@ -794,6 +795,7 @@ setup_dev_dsp (sw_handle * handle, sw_fo
- if (fmt == AFMT_S16_BE || fmt == AFMT_U16_BE) {
+@@ -229,6 +231,7 @@ setup_dev_dsp (sw_handle * handle, sw_fo
handle->custom_data = GINT_TO_POINTER(1);
}
-+#endif
#endif
++#endif
#ifdef DEBUG
+ {