Open Kenshin-liu opened 6 years ago
playSound() { const callback = (error, sound) => { if (error) { Alert.alert('error', error.message) return } sound.setVolume(100) alert(sound.getVolume()) sound.play(() => { sound.release() }) } const sound = new RNsound(demoAudio, error => callback(error, sound)); }
get 100 but not take effect
I think volume needs to be between 0.0 and 1.0.
get 100 but not take effect