Audio Demo fails in startRecording() initialisation


#1

Hi,

I built JuceDemo for Android 2.3. It runs OK on the emulator despite some glitches in the Audio playback. The demo also runs on the Google Nexus S. However, whenever I try to run the Audio functionality of the demo, it crashes. The crash is caused by
java.lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord. I saw in the mailing list that skopus reported this problem back in April. But, there is no specific answer to this problem. Has anyone else faced this problem? Is the a fix for it?

Cheers


#2

Try enabling audio recording permission in the build: