mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01:00
Fixed bug "On Demand calculation stuck at 1%". (Don't know if it had a bugzilla entry. Didn't find one.)
Basic problem was in using wxConvUTF8 instead of wxConvFile. I believe wxConvFile should work on all platforms, but if not we can "#ifdef _WIN32" its use. Also simplified the code by getting rid of the mFileNameChar member. It was used only in ODPCMAliasBlockFile::WriteSummary() so there's no reason to do the conversion from mFileName in so many places -- just do it once, in ODPCMAliasBlockFile::WriteSummary().
This commit is contained in:
@@ -152,8 +152,6 @@ class ODPCMAliasBlockFile : public PCMAliasBlockFile
|
||||
friend class ODComputeSummaryTask;
|
||||
friend class ODDecodeTask;
|
||||
|
||||
char* mFileNameChar;
|
||||
|
||||
ODLock mWriteSummaryMutex;
|
||||
|
||||
//need to protect this since it is changed from the main thread upon save.
|
||||
|
||||
Reference in New Issue
Block a user