Reading a CD’s TOC is a necessary evil if you want to use something like FreeDB or CDDB to obtain metadata about the CD.
It seems like it is not an easy thing to do. You can use ASPI, but you need to have an ASPI driver. You can use SPTI but only as an administrator and not on windows 9x. You can use DeviceIOControl (MCI) but it has issues with CD Extra discs.
You could almost use FMOD directly by obtaining the number of tracks and the length of each track. But, you don’t have the necessary lead-in and lead-out information.
I’m wondering if, since the addition of CDDA support in 3.71, reading a CD’s TOC would be an easy thing for FMOD to do.
- pablop asked 13 years ago
Having all the required TOC information to calculate the discid’s for freedb or dddb is in my opinion an essential feature for a cd player.
Using fmod for this touches also crossplatform issues. I don’t want to
use different API’s on different platforms to get something that is already
there and needs only a simple API-Call.
BWT., is this a planned feature form fmod4?
Hope my vote helps to get this feature.
Please login first to submit.