-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error after playing music several times with AudioCache #843
Comments
This changes seems to make sense for me @wenxiangjiang, would you be willing to put a PR for that? |
@erickzanardo sure. I will do it soon. |
This still happens to me using the repo as dart dependency i.e. not the published version of the package.
|
@AhmedNourJamalElDin It works well for me. Can you confirm whether the code has been updated to the latest? |
Yup Error (1, -19) |
Reopening since it appears there is still some issues (might be fixed by @fdietze 's PR) |
Any update regarding this issue? |
I'm still getting this issue as well:
I also have not been able to figure out a workaround yet. |
any update yet bro? |
Have you tried using this PR? #872 |
@fdietze Well the maintainer seems to think that's not the issue but I'm certainly going to try it. I noticed the latest version had a potential fix for audio failing after repeat usage but I'm still seeing the errors come in after updating to the latest. I also wonder if just waiting 500ms after setting the url would work. That's ok for my use case, maybe not other people's |
I havent seen the problem again with the latest update, but no excessive testing has been done yet on my end |
@Marvin10193 I have done extensive testing and still get the issue. Does your build include the aforementioned PR? |
No, I did not include that PR. |
Can you reconfirm with |
Hey, |
Likely fixed with #1191 |
Error after playing music several times with AudioCache.
Full Description
By executing the following code, an error occurs when press the button several times.
I found that there are already related issues:
#773 #682 #766
I think the reason of the issue is at
play
method ofAudioCache
.This line was added because #618 . That is a good PR, but it will cause errors when not using fixedPlayer. Maybe due to large amount of
AudioPlayer
will not be released.I think we should add a judgment like this:
If my idea meets the needs, I'm interested in working on a PR for this.
Code to Reproduce
Log Errors
Files/URLs/Sources
None.
Screenshots
None.
Platforms
The text was updated successfully, but these errors were encountered: