cordova-plugin-nativeaudio
cordova-plugin-nativeaudio copied to clipboard
Buggy stop() on Android 6.0.1
Hi!
stop()
function works buggy for me on Android 6.0.1: when I call it, it starts playing sound from the beginning, plays in for about 1-2 seconds and stops it. Sample code:
window.plugins.NativeAudio.preloadComplex('1.mp3', '1.mp3')
window.plugins.NativeAudio.play('1.mp3')
setTimeout(function() {
window.plugins.NativeAudio.stop('1.mp3')
}, 1000)
+1 I have the same issue on Android 6.0.1 (haven't tried other versions though) when using preloadComplex(), using loop() then, any time I call stop() the sound stops then plays once more for about a second or so.
Same exact problem on Android 6.0.1 when using preloadComplex(), it keep playing after hit stop for 1 second.
+1 same problem here.