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
Gustl22
changed the title
File handle is inaccessible after calling release()
File handle is inaccessible after calling release() / Implement ReleaseMode.release
Nov 20, 2023
Checklist
Current bug behaviour
When having played an audio file with releasemode
release
, the file handle is inaccessible e.g. for overwriting the file.Expected behaviour
Releasing should properly release the file handle, allowing all file access including overwriting the played file.
Steps to reproduce
flutter run
on the code audiotestappx.zipCode sample
Code sample
In main.dart, call
MyWaveBuilder:
MyAudioPlayer:
Affected platforms
Windows
Platform details
Windows 11 (10.0.22621)
AudioPlayers Version
^1.1.1
Build mode
debug
Audio Files/URLs/Sources
See here for zipped assets:
soundfiles.zip
Cannot upload raw wav files btw:
Screenshots
(sorry for the potato language):
Logs
Full Logs
Flutter doctor:
Related issues / more information
Rebo on Discord thoughtto have solved it with:
https://github.com/bluefireteam/audioplayers/pull/1517/files#diff-9bd303c19c9f1e11702b5b6541381f0910cca3c459576aa8a215b0c880a0ab79R342
Working on PR
no way
The text was updated successfully, but these errors were encountered: