From owner-cvs-all Fri Nov 5 19:57: 6 1999 Delivered-To: cvs-all@freebsd.org Received: from norn.ca.eu.org (cr965240-b.abtsfd1.bc.wave.home.com [24.113.19.137]) by hub.freebsd.org (Postfix) with ESMTP id E0A8814E63; Fri, 5 Nov 1999 19:57:01 -0800 (PST) (envelope-from cpiazza@norn.ca.eu.org) Received: by norn.ca.eu.org (Postfix, from userid 1002) id 60DB58C; Fri, 5 Nov 1999 19:55:45 -0800 (PST) Date: Fri, 5 Nov 1999 19:55:45 -0800 From: Chris Piazza To: Jim Mock 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> References: <199911060311.TAA62221@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199911060311.TAA62221@freefall.freebsd.org>; from jim@FreeBSD.org on Fri, Nov 05, 1999 at 07:11:23PM -0800 X-Operating-System: FreeBSD 4.0-CURRENT Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 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