Date: Fri, 5 Nov 1999 19:55:45 -0800 From: Chris Piazza <cpiazza@home.net> To: Jim Mock <jim@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/audio/xmms Makefile ports/audio/xmms/files md5 ports/audio/xmms/patches patch-aa patch-ab patch-ac patch-ba patch-bb patch-ca ports/audio/xmms/pkg PLIST Message-ID: <19991105195545.A311@norn.ca.eu.org> In-Reply-To: <199911060311.TAA62221@freefall.freebsd.org>; from jim@FreeBSD.org on Fri, Nov 05, 1999 at 07:11:23PM -0800 References: <199911060311.TAA62221@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 05, 1999 at 07:11:23PM -0800, Jim Mock wrote:
> jim 1999/11/05 19:11:23 PST
>
> Modified files:
> audio/xmms Makefile
Hi,
I was going to upgrade this port before but it has a problem:
if you use the OSS output device it won't go to the next track in
the playlist. I dug up a patch from Jakob Alvermark <jakob@teligent.se>
that fixes this. By his own admission the patch is pretty nasty but it does
work.
We'll either have to commit this or come up with something different :-)
Index: patches/patch-ab
===================================================================
RCS file: patch-ab
diff -N patch-ab
--- /dev/null Fri Nov 5 19:30:34 1999
+++ patch-ab Fri Nov 5 19:53:54 1999
@@ -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;
-Chris
--
cpiazza@home.net cpiazza@FreeBSD.org
Abbotsford, BC, Canada
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991105195545.A311>
