Hello,
In a class method I use a scoped pointer on a object and when reaching end of scope I got a a malloc issue :
here is my code and the debug output (attached file) :
void audioToMidi(InputStream& soundStream, File& outputFile)
{
AudioFormatManager audioFormatManager;
audioFormatManager.registerBasicFormats();
ScopedPointer<AudioFormatReader> soundReader = audioFormatManager.createReaderFor(&soundStream);
[... (using the reader and so) ...]
}
Can you please tell me what I'm doing wrong?
Thank you.
