I'm using react-native-sound package to play sound 10 times at a time in a loop but setNumberOfLoops(10) or any positive number in it does not work, it start playing 30-40 times
:beetle: Please post your code:
export let xSound = new Sound("x.wav", Sound.MAIN_BUNDLE, (error) => {
if (error) {
console.log("Sound Not Loaded successfully");
return;
}
});
xSound.setNumberofLoops(10)
xSound.play()
:bulb: Possible solution
Is your issue with...
[X] iOS
[X] Android
Are you using...
[X] React Native CLI (react-native run-android)
Which versions are you using?
React Native Sound: 0.11.2
React Native: 0.67.4
Android: 10
Does the problem occur on...
[X] Simulator
[X] Device
If your problem is happening on a device, which device?
:beetle: Description
I'm using react-native-sound package to play sound 10 times at a time in a loop but setNumberOfLoops(10) or any positive number in it does not work, it start playing 30-40 times
:beetle: Please post your code:
:bulb: Possible solution
Is your issue with...
Are you using...
react-native run-android
)Which versions are you using?
Does the problem occur on...
If your problem is happening on a device, which device?