I have send him a demo with this altered function in it:
[code]void AudioDemoPlaybackPage::loadFileIntoTransport (const File& audioFile)
// unload the previous file source and delete it…
// get a format manager and set it up with the basic types (wav and aiff).
T("Known formats:") + formatManager.getWildcardForAllFormats());
AudioFormatReader* reader = formatManager.createReaderFor (audioFile);
if (reader != 0)
currentAudioFileSource = new AudioFormatReaderSource (reader, true);
if (currentAudioFileSource == 0)
T("error code #2"));
// ..and plug it into our transport source
32768, // tells it to buffer this many samples ahead
T("error code #1"));
No problems seen, *.wav showed up as a known format, just no play for a wav file! The waveform is also not drawn, so it seems it can’t open or read the file. However, formatManager.createReaderFor () was successful, so it did open the file, didn’t it? Any suggestions I can try?