Re: [Audacity-devel] Debug build crash re-check-in
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Dominic M. <do...@mi...> - 2002-03-27 22:27:50
|
Shane, Glad to hear it's fixed! If you didn't already, make the edit toolbar enabled by default. That will encourage me to debug it while I work on other things. > 3. I added a "Trim" function to the menu (and the edit toolbar). This > could also be called "crop", as it is identical to graphical > "crop"--it removes all of the file outside of the selection. I did > this quickly, and have a suspicion that it leaks all of the memory > it "trims", because it doesn't give the memory to the clipboard. If you use Track::Delete and call PushState at the end, then you're not leaking any memory. PushState makes it undo-able, and WaveTrack automatically reference-counts data so that it uses as little memory as possible, and doesn't leak. - Dominic |