What's happened to CDIOCREADAUDIO & friends?
Soren Schmidt
sos at spider.deepcore.dk
Thu Sep 18 23:05:49 PDT 2003
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
More information about the freebsd-current
mailing list