aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-11-11 00:05:00 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-11-11 00:05:00 +0000
commit63695790b49907794256c2b1304139273662f3c2 (patch)
tree450f7301b9c0a57146739c5dbbcd30fd98588138 /audio
parent9531408426afaaf50808b83754cd09cdc4ca92b2 (diff)
downloadports-63695790b49907794256c2b1304139273662f3c2.tar.gz
ports-63695790b49907794256c2b1304139273662f3c2.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms/files/patch-ab14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/xmms/files/patch-ab b/audio/xmms/files/patch-ab
new file mode 100644
index 000000000000..e79bff12547d
--- /dev/null
+++ b/audio/xmms/files/patch-ab
@@ -0,0 +1,14 @@
+--- Output/OSS/audio.c.orig Thu Oct 14 09:26:06 1999
++++ Output/OSS/audio.c Tue Sep 28 16:36:45 1999
+@@ -146,10 +146,7 @@
+ audio_buf_info buf_info;
+ int bytes;
+
+- if (!ioctl(fd, SNDCTL_DSP_GETOSPACE, &buf_info))
+- bytes = ((buf_info.fragstotal - buf_info.fragments - 3) * buf_info.fragsize);
+- else
+- bytes = 0;
++ bytes = 0;
+
+ if (!oss_used() && bytes <= 0)
+ return FALSE;