diff options
Diffstat (limited to 'audio/snd/patches/patch-af')
-rw-r--r-- | audio/snd/patches/patch-af | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/audio/snd/patches/patch-af b/audio/snd/patches/patch-af deleted file mode 100644 index 507792d82e0..00000000000 --- a/audio/snd/patches/patch-af +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-af,v 1.2 1998/08/07 10:36:09 agc Exp $ - ---- snd.orig/snd-clm.c Thu Feb 12 15:37:13 1998 -+++ snd-clm.c Sun Feb 22 02:20:40 1998 -@@ -753,7 +753,11 @@ - { - /* turn off inputs (they create an unbelievable amount of noise) and maximize outputs */ - int fd,amp,devmask; -+#ifdef __NetBSD__ -+ fd = open("/dev/audio",O_WRONLY,0); -+#else /* !__NetBSD__ */ - fd = open("/dev/dsp",O_WRONLY,0); -+#endif /* __NetBSD__ */ - if (fd == -1) return; - amp = 0; - ioctl(fd,SOUND_MIXER_READ_DEVMASK,&devmask); |