I’m new to Juce, but I’ve got the demo program compiling under Visual Studio 2005, and and starting to get a bit of the hang of it.
I’m trying to make a CD player. As I understand it, in order to get things like the number of tracks, I need to create an instance of AudioCDReader. I would have thought it would be code like this:
AudioCDReader reader = AudioCDReader::createReaderForCD(selectedCDIndex);
However, when I try to compile this, I get error C2248: ‘juce::AudioCDReader::AudioCDReader’ : cannot access private member declared in class ‘juce::AudioCDReader’ y:\juce orig\extras\example projects\common\hellowarrencontentcomponent.cpp 198
I presume that it would be a mistake to alter any JUCE code blindly, so I’m guessing there must be a better way for me to get a reader. Am I right?