Hi. I’d just like to report a bug in the JuceDemo that is probably related to my other ongoing thread on this board.
http://www.rawmaterialsoftware.com/viewtopic.php?f=4&t=8670
THE BUG ONLY OCCURS ON THE DEVICE, NOT FROM WITHIN THE SIMULATOR
To replicate the bug,
1 ) Open the JuceDemo on an iOS device
2 ) Click Demo --> Audio
3 ) Click Demo --> Widgets
4 ) Open buttons tab
5 ) Click the hyperlink
6 ) Let Safari begin to open the rawmaterialsoftware site
7 ) Hit the home button
8 ) Go back to the juce Demo by either…
a) double tapping the home button and bringing the juce demo from the background tasks
b) hit the JuceDemo icon on the home screen
The Demo will then crash. When hooked up to the debugger…
I sometimes get an error here on line 397 of juce_ios_Audio.cpp
…or here on line 235
…or here on line 257
callback->audioDeviceIOCallback ((const float**) inputChannels, numInputChannels,
outputChannels, numOutputChannels, (int) numFrames);
Thanks for looking