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

How to cancel processAudio? #72

Open
anonym24 opened this issue Feb 15, 2024 · 0 comments
Open

How to cancel processAudio? #72

anonym24 opened this issue Feb 15, 2024 · 0 comments

Comments

@anonym24
Copy link

anonym24 commented Feb 15, 2024

The library will continue to process the file until it finishes it though it may not be needed any more or we close the screen where we display it or any other situation. How to stop it?

Especially if audio duration is long (hours)

Also if you have list of audios and you select one for processing but then you want to try another file and select it then there will be a crash because we didn't cancel the previous file processing and library doesn't allow multiple processing at the same time, but anyway it should have the ability to stop the current processing so we could free a slot for a new file otherwise it makes the library quite useless and it's only possible to use it with small duration audio files and wrapping the amplituda.processAudio with Mutex in some singleton repository

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