Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
Can Java read TOC cd?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Logan Shaw, post: 3485515"] Huh? I took the question to mean that the original poster has a CD-ROM drive, they want to insert an audio CD, and they want to gather information about the audio tracks on the CD. This is a pretty low-level function. It has to depend on the device driver for the CD-ROM drive, and it may have to have some very specific knowledge about the CD audio format (which is different than the CD-ROM format; only the latter has a filesystem, for one thing). Think of a TOC as sort of like a partition table, except that it divides up a continuous series of audio frames into conceptual tracks, and I think it uses seconds (rather than frames or blocks or bytes) as its unit. As I understand it, the usual way to do all this on a PC is to speak ATAPI to the hardware. I don't know of a way to do this directly from Java, although it could be possible. Also, it sounds to me like this would all be done on the client side, not the server side. The client needs to look at the low-level info on the physical disc, then it needs to contact some service on the network to gather more information about that disc, then store that into a database somewhere. Java sounds great for the second two of those, but the first one is another question. - Logan [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
Can Java read TOC cd?
Top