Re: [Audacity-devel] Re: 1.2.1 release updates
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Matt B. <mbr...@cs...> - 2004-05-04 23:16:42
|
Vaughan Johnson wrote: > I noticed that I got new copies of Blockfile.{cpp,h} when I did the > update before building rc3, and they appear to be what's in CVS, with > these version numbers: > > Blockfile.h, 1.11.2.1.2.1 (has mLockCount instead of mLocked) > Blockfile.cpp, 1.25.4.1 (likewise) Yeah, that should be correct. > I just did a full re-build, and I can replicate it on my system with > that and rc3. Sorry I hadn't tested that before I posted. How can this > be only on Windows? How can I help debug? That's very strange. I have no idea why this isn't working on Windows. If you can use a debugger (or print statements, etc.) to watch the BlockFile::Lock/Unlock calls and the value of BlockFile::mLockCount while reproducing the bug, that should help figure out what's going wrong. This will be simplest if you start with a project of just one blockfile (e.g. 1 second of "Generate Tone"). It should work like this: Blockfile(): mLockCount = 0 ~AudacityProject(): Lock - mLockCount = 1 OnPaste(): Lock - mLockCount = 2 Unlock - mLockCount = 1 ~Blockfile(): mLockCount == 1 |