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 was running into the issue that after I play a sound for the fifth time by clicking a button using the Sound.play(file: "X.mp3") method, it doesn't start from it's very beginning and just seems to play at a random point.
Best regards
The text was updated successfully, but these errors were encountered:
Looking at the code, there's a weird design issue where 5 instances of AVAudioPlayer are created for every sound. Despite the code comments, I'm not really sure why this is done.
Hello,
I was running into the issue that after I play a sound for the fifth time by clicking a button using the Sound.play(file: "X.mp3") method, it doesn't start from it's very beginning and just seems to play at a random point.
Best regards
The text was updated successfully, but these errors were encountered: