AudioPool repeating #1241
Unanswered
markohrastovec
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
looking in https://github.com/flame-engine/flame/blob/main/packages/flame_audio/lib/audio_pool.dart I found a parameter repeating. However, setting this parameter to true does not loop the sound. It plays only once. The contructor returns a function to stop it, but there is no effect as it is already stopped.
I am trying to achieve something like this:
It looks like stop in onDragEnd does nothing. I checked, the stop function and it is there. What am I doing wrong?
I found another way, but I still wonder, what repeating means.
Beta Was this translation helpful? Give feedback.
All reactions