Date: Sat, 2 Jan 1999 22:32:03 -0700 (MST) From: "Kenneth D. Merry" <ken@plutotech.com> To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: tosha 0.6 with VideoCD support Message-ID: <199901030532.WAA52937@panzer.plutotech.com> In-Reply-To: <199901021932.UAA25316@labinfo.iet.unipi.it> from Luigi Rizzo at "Jan 2, 99 08:32:33 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo wrote... > > Hi Luigi, > > > > Luigi Rizzo wrote in list.freebsd-multimedia: > ... > > OK. Is there some documentation about that (except source)? > > nope, but apart from indentation problems the code is fairly modular > and the atapi stuff is all confined in the new files > cdd_atapisomething.[ch] > > > I'd also like to know on which platforms it works (probably > > only on fairly recent 3.0-current, right?). If possible, the > > the port is for 3.0 and not cam-ified. I have a port for 2.2 as well if > you need it (it is not committed yet) cdd is one of the utilities that I have wanted to port to CAM for a long time, but I haven't gotten around to it. (i.e., if someone else wants to do it, go right ahead) I ported tosha to CAM instead because it was simpler and easier to do. cdd makes extensive use of the old SCSI library's scsireq_foo() functions. libcam has compatibility functions for most all of the old scsireq functions, though. You just have to convert the scsireq structures to the new CAM CCB structure. If anyone undertakes a port of cdd to CAM, I will be glad to provide assistance. It might be helpful to do something similar to what Oliver did in tosha, and have a generic function to build and send SCSI commands. That way, you could avoid making the code a mass of #ifdefs. Or, a more ambitious project would be to port tosha or cdd to either xmcd's libdi, or Joerg Schilling's libscg. (there's already a CD-DA audio extractor that uses Joerg's libscg, and that is cdda2wav. I think its feature set is somewhat different than cdd or tosha, though.) Of course, there's something to be said for simple, purpose-built applications. Adding support for other platforms is nice, but right now tosha and cdd work just fine for FreeBSD. :) Ken -- Kenneth Merry ken@plutotech.com 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?199901030532.WAA52937>