From owner-freebsd-multimedia Sun Feb 22 18:09:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA25904 for freebsd-multimedia-outgoing; Sun, 22 Feb 1998 18:09:38 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from thelab.hub.org (dyna2-155.acadiau.ca [131.162.2.155]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA25025 for ; Sun, 22 Feb 1998 18:06:12 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.8.8/8.8.2) with SMTP id WAA02178; Sun, 22 Feb 1998 22:05:09 -0400 (AST) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Sun, 22 Feb 1998 22:05:09 -0400 (AST) From: The Hermit Hacker To: Luigi Rizzo cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Creating MP3's under FreeBSD... In-Reply-To: <199802211609.RAA03033@labinfo.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 21 Feb 1998, Luigi Rizzo wrote: > the more sophisticated way is to use programs like cdda or tosha to > grab the raw tracks from the CD. Some SCSI drives are reported to do > this, and I have some patches on my web page to do this with (some) > ATAPI disk as well. BEWARE though, this might freeze your IDE bus since > our atapi code does not have timeouts. > > see http://www.iet.unipi.it/~luigi/cdda980108.diffs What are these patches against? I just looked at the wcd.c file in -current and they don't apply...I was going to go at it manually, but am not sure how "safe" that is, since, for starters: /usr/src/sys/i386/isa/wcd.c: struct wcd *cdp; struct atapires result; struct changer *chp; int i; if (wcdnlun >= NUNIT) { printf ("wcd: too many units\n"); return (0); } =================================================== the patch: --- wcd.c.orig Sun Sep 8 12:28:23 1996 +++ wcd.c Thu Jan 8 11:21:37 1998 @@ -272,6 +272,7 @@ struct wcd *t; struct atapires result; int lun; + int loops = 0 ; if (wcdnlun >= NUNIT) { printf ("wcd: too many units\n"); I'm going to try and manually apply, but if there are newer patches for current? > using them, you still need to patch tosha, or better cdda, to grab the > pcm files and compensate the sync problems which many drives have > (don't ask for more comments on this, i am not very clear on what is > the problem and how to fix it) got cdda compiled and tried to run it, and got: # ./cdda 3 track 3 of 1-12: sector 41325 - 58499 .CDIOATAPIREQ: Inappropriate ioctl for device Not sure if this is related to the patch not being applied or not, which is why I mention it... Marc G. Fournier Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message