ryanheise / just_waveform

A Flutter plugin to extract waveform data from an audio file suitable for visual rendering.
MIT License
86 stars 17 forks source link

How to cancel the waveform processing before done? #24

Open BlackGold-1989 opened 2 years ago

BlackGold-1989 commented 2 years ago

I have added that package to my flutter project. But when move before and next page, I met a issue for percent change one. The percent value is return the previous and current ones. Could you help me for that issue?

ryanheise commented 2 years ago

There is already a pull request to support simultaneous requests which would help prevent the wire crossing you're experiencing, but also a way to cancel a processing job is a good idea.

I'll note it as a new feature idea.

ryanheise commented 2 years ago

I am re-opening this issue because I thought it was a good idea!