是否有平*立的方式(Java?)来读取音频CD的TOC?

问题描述:

如果可能的话,我想避免使用本机库。对于Linux,Windows和Mac OS X,肯定有解决此问题的更好方法。

I would like to avoid using native libaries if at all possible. Surely there is a better way to solve this issue for Linux, Windows and Mac OS X.

对不起,您不满意运气您将需要JNI,并且对于不同的平台,它会令人讨厌地有所不同。基本的Java库涵盖了几乎通用的任务和硬件。 CD驱动器过去没有,也没有这样认为。

Sorry, you're out of luck. You'll need JNI, and it'll be obnoxiously different for different platforms. The base java libraries cover tasks and hardware that are pretty much universal. CD drives weren't and aren't considered so.