Date: Sun, 22 Feb 1998 22:05:09 -0400 (AST) From: The Hermit Hacker <scrappy@hub.org> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Creating MP3's under FreeBSD... Message-ID: <Pine.BSF.3.96.980222215423.2129A-100000@thelab.hub.org> In-Reply-To: <199802211609.RAA03033@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980222215423.2129A-100000>