HI,
I'm using react-native-sound module in my app. while updating the volume by sing code setVolume, the p[layer volume is not adjusting. my code is like this.
var musicPlayer = new Sound(mPath, error => {
if (error) {
console.log('failed to load the sound', error);
return;
}
});
//For updating the volume.
musicPlayer.setVolume(mVolume);
// volume range is 0 to 1.0
While adjusting the volume the range of volume is not adjusting for the player.
The device volume is high.
HI, I'm using react-native-sound module in my app. while updating the volume by sing code setVolume, the p[layer volume is not adjusting. my code is like this. var musicPlayer = new Sound(mPath, error => { if (error) { console.log('failed to load the sound', error); return; } }); //For updating the volume. musicPlayer.setVolume(mVolume);
// volume range is 0 to 1.0
While adjusting the volume the range of volume is not adjusting for the player. The device volume is high.
Please give suggestions to overcome this issue.
Thank you