> Is it possible to perform reads through the block_dev interface with an
> audio CD in the drive? I have been playing around with this for a little
> bit and can't get ll_rw_block() to do it. I have only been able to read
> data off an audio CD using CDROMREADAUDIO. Is that correct?
>
> The reason I ask is because I'm in the processes of writing an audio CD
> filesystem. The tracks are available as .wav or .au files. So far,
> everything is working, but I cannot use the block buffer infrastructure
> because of the block reading problem.
>
> It seems to me that the kernel should be able to recognize and deal
> with audio CDs. Don't get me wrong, I'm not suggesting that the kernel
> should provide obvious user space functionality such as doing mp3
> encoding, etc, but the need for CD rippers seems extraneous.
Well, CD rippers do much more than just read the audio data, they also
put the chunks of it together (there is no good synchronization in the
audio stream), check for errors, re-read blocks, correct the errors and
much more. It's no fun to read that data. You'd need quite some code to
do that in kernel, not just a couple simple functions.
-- Vojtech Pavlik SuSE Labs- 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 : Sat Jan 15 2000 - 21:00:21 EST