As usual, I did a search and read the code before asking this question.
Now that I can get a CDDB id from a CD, I’m wanting to be able to recognize when a CD is inserted into the drive and then react accordingly.
However, there are two different classes here. AudioCDBurner seems to be the class that I use to get notifications on things entering or leaving the CD drive; to get CDDB id and other information, I need an AudioCDReader and it’s not entirely clear how I get this.
There are two lists of names… AudioCDBurner::findAvailableDevices() and AudioCDReader::getAvailableCDNames(). Are there any guarantees that these would be the same, or that one is a subset of the other?