JUCE Audio demo records intermittent sound on Android simulator


I’m facing a strange issue when recording audio on the Android simulator. The audio is chopped, with silence inserted at more or less regular, frequent intervals. This is also the case with the JUCE Audio Recorder demo, and using various different mics apart from the default Macbook one.

I tried changing the sample rate from 44100Hz to 48000Hz in the demo, but result was the same.

I’m on JUCE v 6.1.2, OpenSL device, Pixel 3a XL emulator device.

Any hint of what could be wrong?



Seems to work fine with Oboe, so I’ll be switching to that.

I hope this is supported by most (recent) Android devices.