You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to play a small sound (tried wav, m4a and aac) for my game in Android when the user clicks a button. There's always a small delay before playing the sound. This is definitely a sound issue because whatever else the button does, it happens immediately, except playing the sound.
I tried the 3 file formats I mentioned, tried loading the sound and resuming it, tried multiple Touchable/Pressable components, and also tried using react-native-gesture-handler with react-native-reanimated but had no improvement.
Any help please?
The text was updated successfully, but these errors were encountered:
First of all this is isn't a bug.
I am trying to play a small sound (tried wav, m4a and aac) for my game in Android when the user clicks a button. There's always a small delay before playing the sound. This is definitely a sound issue because whatever else the button does, it happens immediately, except playing the sound.
I tried the 3 file formats I mentioned, tried loading the sound and resuming it, tried multiple
Touchable/Pressable
components, and also tried usingreact-native-gesture-handler
withreact-native-reanimated
but had no improvement.Any help please?
The text was updated successfully, but these errors were encountered: