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
I'm building an WAV -> FLAC converter and was trying to give some feedback to the user for when a file takes a long time to process.
For that I found the NotifyOnProgress method. But the duration or percentage seems to be way to high. Dividing it by 10 came closer but was still too high. It's also very unstable (sometimes a small step, sometimes a big jump).
As a solution I created my own way to keep track of the time which works fine and is way more stable and accurate.
This code is what I run to convert the file (with both ways of keeping track of the duration):
I'm building an WAV -> FLAC converter and was trying to give some feedback to the user for when a file takes a long time to process.
For that I found the
NotifyOnProgress
method. But the duration or percentage seems to be way to high. Dividing it by 10 came closer but was still too high. It's also very unstable (sometimes a small step, sometimes a big jump).As a solution I created my own way to keep track of the time which works fine and is way more stable and accurate.
This code is what I run to convert the file (with both ways of keeping track of the duration):
The text was updated successfully, but these errors were encountered: