-
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
Expression: cannot dereference end map/set iterator
on Windows
#1475
Comments
Good catch @Skyost. The following happens: Dispose is called on bgm in FlameAudio, which should not be the case as it makes the player obsolete, should be replaced with But it should also be tested and fixed in AP, as a player could call a method even after being disposed. Further .ogg is not supported by Windows, but that was not the problem for crashing here :) |
Good catch indeed, I'll fix |
Good ! Can I close this one @Gustl22 ? |
I'll close, when #1480 is merged ;) |
Checklist
Current bug behaviour
Audio cannot be played on Windows due to a MVC++ error occuring.
Expected behaviour
Audio should play without any problem.
Steps to reproduce
flame_audio
example project.flutter create .
in order to create the Windows project.flutter run
.Code sample
Code sample
(as you can see, it's the sample project of
flame_audio
, which is available here).Affected platforms
Windows
Platform details
Processor : AMD Ryzen 5 5600H with Radeon Graphics 3.30 GHz
RAM : 16,0 Go (15,3 Go usable)
Edition : Windows 11 Famille
Version : 22H2
Installed on : 05/10/2022
OS Build : 22621.1555
Experience : Windows Feature Experience Pack 1000.22640.1000.0
AudioPlayers Version
4.0.1
Build mode
debug
Audio Files/URLs/Sources
bg_music.ogg
Screenshots
Logs
No log as it's a native error. See screenshot above.
Related issues / more information
No response
Working on PR
Why not, but I have no C++ experience.
The text was updated successfully, but these errors were encountered: