Re: Music CD's

From: Dr. Kelsey Hudson (kernel@blackhole.compendium-tech.com)
Date: Tue Apr 04 2000 - 20:38:24 EST


> Depends on your view point. There are tracks , that could be interpeted
> as files.
> True there are no directories , unless you count sessions as ones ...

...yeah. But in most cases one would not want to consider a track as a
file, since they are written in raw bit format to the CD. There is no file
descriptor, anything.

> They wont read the data. They will send a PLAY command to the drive,
> which would
> then read the data, convert it to analog form, send that thru a wire to
> the
> sound card, where it is mixed to the Line-out if the card.

this is true...

> <going off topic ...>
> I prefer the normal way : read the data , send it to /dev/audio,
> like with music from hard-drives, floppies , ZIP media , MO disks ...

if you do that then you waste CPU cycles
why read the data off the disc, (which takes cpu cycles), pipe the data to
/dev/audio (more cpu cycles), have sound card interperet it (even MORE CPU
cycles), and then finally output to speakers? Why not let the
microcontrollers in the CD-ROM firmware do that for you? Makes a lot more
sense to me.

 Kelsey Hudson khudson@ctica.com
 Software Engineer
 Compendium Technologies, Inc (619) 725-0771
---------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:13 EST