Playing Sound Files tutorial crashes when opening 2nd file


#1

I downloaded the Playing Sound files tutorial and no matter what I try, it crashes when opening a 2nd audio file.

I'm not a C++ expert, but I think it has something to do with the readerSource.

When I select the 2nd file, it crashes here:

void ResamplingAudioSource::releaseResources()

{
    input->releaseResources();    <--- bad access
    buffer.setSize (numChannels, 0);
}

 

Anyone?

 

 


#2

Sorry...just found a similar post...and an answer.

http://www.juce.com/forum/topic/tutorial-playing-sound-files-raises-exception-2nd-load