Date: Fri, 19 Sep 2003 08:05:41 +0200 (CEST) From: Soren Schmidt <sos@spider.deepcore.dk> To: Vladimir Kushnir <vkushnir@Alfacom.net> Cc: current@FreeBSD.ORG Subject: Re: What's happened to CDIOCREADAUDIO & friends? Message-ID: <200309190605.h8J65fZW032345@spider.deepcore.dk> In-Reply-To: <20030919010255.I775@kushnir1.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
It seems Vladimir Kushnir wrote: > > The right way of doing audio graps has been to set the wanted blocksize > > with CDRIOCSETBLOCKSIZE (not needed if all tracks on the CD is of > > the same size), then just read from the device. Ioctl's was newer meant > > to be used to read/write data, its also faster to use the R/W path... > > > > Ok, perhaps, but ioctls seem to be more usual way and it's a bit > simpler... Still, I'm just user... Rather unhappy now :-( I disagree, but that another matter.. How about just doing: dd if=/dev/acdXtY of=trackY bs=2352 Now that cant be simpler and is already present... > Together with sys/cdio.h, where both ioc_read_audio and CDIOCREADAUDIO are > declared I'll get rid of those... -Søren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309190605.h8J65fZW032345>