1
0
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:
v.audacity
2010-07-23 01:41:21 +00:00
parent bce418b19b
commit ceb5aff5cb
2 changed files with 17 additions and 22 deletions

View File

@@ -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.