Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Often, when a music CD is played on a PC, the hardware is doing the playing (actually, this may be less the case now, than it was when CD drives first appeared in PCs). Nevertheless, you can read the data, but it is in a form similar to a windows wav file format, which is a simple uncompressed audio stream. (This may also be the same format as an au file on Unix, but I'm not certain about that). However, as far as the CD access stuff (enumerating drives and determining drive types), I think you are once again in the platform-specific realm and will have to use JNI and C/C++. I've done this stuff in C++ with Windows API, but I don't think you'll find any of this kind of thing in the Java APIs -- maybe there are third-party libraries (hopefully supporing major OSes) that would do the JNI work for you... - mfg
Replies: |
Sponsored Links
|