cordova-plugin-nativeaudio icon indicating copy to clipboard operation
cordova-plugin-nativeaudio copied to clipboard

Buggy stop() on Android 6.0.1

Open mad-gooze opened this issue 7 years ago • 3 comments

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)

mad-gooze avatar Sep 18 '16 12:09 mad-gooze

+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.

RobAWarner avatar Oct 28 '16 15:10 RobAWarner

Same exact problem on Android 6.0.1 when using preloadComplex(), it keep playing after hit stop for 1 second.

julianCast avatar Feb 08 '17 20:02 julianCast

+1 same problem here.

B-Stewart avatar Feb 24 '17 22:02 B-Stewart