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

dispose() not working? #495

Open
TakeOwer opened this issue Nov 11, 2024 · 0 comments
Open

dispose() not working? #495

TakeOwer opened this issue Nov 11, 2024 · 0 comments

Comments

@TakeOwer
Copy link

Hi,
I implemented this "very useful" library in one of my projects. When I run the player of a file and after stopping it, if I want to delete it from the list it does not delete it. It gives me a message that the file is in use by the program... despite the call to the following code:
_soundOut?.Stop(); _soundOut?.Dispose(); _source?.Dispose(); _pitchShifter?.Dispose(); _soundOut = null; _pitchShifter = null; _source = null;

cinzia_downloader_video_tomp3

Is there a solution to release the library so that the file is not in use by the program?
Thank you in advance for any solution you would like to suggest 😊
Best Regards
Salvo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant