summaryrefslogtreecommitdiff
path: root/audio/dap/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'audio/dap/patches/patch-ae')
-rw-r--r--audio/dap/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/dap/patches/patch-ae b/audio/dap/patches/patch-ae
new file mode 100644
index 00000000000..3b4fc9c8cb7
--- /dev/null
+++ b/audio/dap/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 1999/12/04 12:56:32 scw Exp $
+
+--- libaudio/audio.c.orig Fri Dec 3 21:51:30 1999
++++ libaudio/audio.c Fri Dec 3 21:49:49 1999
+@@ -1708,7 +1708,7 @@
+ globalState [AL_OUTPUT_RATE].min = speed;
+ }
+
+- speed = 100000;
++ speed = 48000; /* XXXSCW: This is a pitiful hack. */
+ if (ioctl (testFile,SNDCTL_DSP_SPEED,&speed) == -1)
+ {
+ globalState [AL_INPUT_RATE].max = 48000;