floatinghotpot/cordova-plugin-nativeaudio

Voices working incorrectly on Android 6.0

Opened this issue · 0 comments

It seems something is wrong with how voices work on Android 6.0.
When cycling through the voices it fails to play on regular intervals.

If i have 8 voices, the eighth time the sound is being played, its not, and i get this error (if its of any use):

NuPlayerRenderer(1197): onDrainAudioQueue(): audio sink is not ready
NuPlayerRenderer(1197): onDrainAudioQueue(): audio sink is not ready
NuPlayerRenderer(1197): onDrainAudioQueue(): audio sink is not ready
NuPlayerRenderer(1197): onDrainAudioQueue(): audio sink is not ready

Tested on nexus 5 and emulator.