Skip to content
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

Seeking, and Player Closure Causing Errors (ConcatenatingAudioSource) #45

Open
Vito0912 opened this issue Nov 10, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Vito0912
Copy link

Which API doesn't behave as documented, and how does it misbehave?
The .close() (and .dispose()) methods. See #43. Everything is happening when using ConcatenatingAudioSource

When playing audio, there is an issue where the current playback position is not tracked correctly (Seekig just jumps arround). Also (I assume it's connected) it results in the error message: Broadcast playback event error: Error accessing BufferingProgress. Using default value of 1. Exception: Schnittstelle nicht unterstützt.
(Note: I added the "Exception" part, but I'm not a C++ developer, so I couldn't diagnose the underlying cause. I also couldn't find any references to this specific error.)

Additionally, after calling .close(), the application crashes with the following error:
[just_audio_windows] Broadcast playback event error: HRESULT code: 80004004, Message: Vorgang abgebrochen. (I’ve added the HRESULT and message details to the output.)

The crash occurs after some time and is not just a result of a try-catch exception—it's a complete failure.

Minimal reproduction project
Any use of ConcatenatingAudioSource. Just use example and add ConcatenatingAudioSource as source with an array of at least 2 audioSources.

To Reproduce (i.e. user steps, not code)
Play, Stop

Error messages

[just_audio_windows] Broadcast playback event error: HRESULT code: 80004004, Message: Vorgang abgebrochen

Eventmanager (translated):

Name of the faulty application: abs_flutter.exe, Version: 1.6.6.0, Timestamp: 0x6730ad94
Name of the faulty module: just_audio_windows_plugin.dll, Version: 0.0.0.0, Timestamp: 0x6730ad92
Exception code: 0xc0000005
Fault offset: 0x000000000002c73e
ID of the faulty process: 0x0x6F1C
Start time of the faulty application: 0x0x1DB337005D614DC
Path of the faulty application: C:\xxxx\build\windows\x64\runner\Debug\abs_flutter.exe
Path of the faulty module: C:\xxxx\build\windows\x64\runner\Debug\just_audio_windows_plugin.dll
Report ID: 0a82ff2b-2e82-4429-9576-8b6ebcc4ce63
Full name of the faulty package:
Application ID relative to the faulty package:

----

Name of the faulty application: dart.exe, Version: 0.0.0.0, Timestamp: 0x6669cdfb
Name of the faulty module: ntdll.dll, Version: 10.0.22621.4391, Timestamp: 0x7b2ab261
Exception code: 0xc0000005
Fault offset: 0x0000000000033fba
ID of the faulty process: 0x0x5338
Start time of the faulty application: 0x0x1DB334315C32AB3
Path of the faulty application: C:\Framework\flutter\bin\cache\dart-sdk\bin\dart.exe
Path of the faulty module: C:\Windows\SYSTEM32\ntdll.dll
Report ID: 3749f38e-58ee-4560-9dcd-00527f6f8b03
Full name of the faulty package:
Application ID relative to the faulty package:

Expected behavior
Seek normally during playback.
Close the player properly without encountering any errors.

Desktop (please complete the following information):
Windows

Smartphone (please complete the following information):
None

Flutter SDK version

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.22.3, on Microsoft Windows [Version 10.0.22631.4391], locale de-DE)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.5)
[√] Android Studio (version 2024.1)
[√] Android Studio (version 2024.1)
[√] IntelliJ IDEA Ultimate Edition (version 2024.1)
[√] VS Code (version 1.95.1)
[√] VS Code (version 1.95.0-insider)
[√] Connected device (3 available)
[√] Network resources

• No issues found!

Additional context
None

@Vito0912 Vito0912 added the bug Something isn't working label Nov 10, 2024
@freedomlight2015
Copy link

crash crash!!dont wast your time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants