Re: [Audacity-devel] Possible fix for 'Chains applied to files do not clear temporary files after p
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Dan H. <da...@go...> - 2009-07-03 22:36:39
|
On Fri, Jul 3, 2009 at 10:59 PM, Dan Horgan<da...@go...> wrote: > On Fri, Jul 03, 2009 at 10:31:46PM +0100, Richard Ash wrote: >> Can we simply purge all the undo entries for the current project, which >> should have the same effect of freeing all the files (this becomes >> something of a stress test for the project structure as well...)? This >> should be safe, or at least if it isn't it needs fixing. Would we even >> want to delete the undo history after every item in the chain when in >> batch mode, so as to minimise disk space usage within each chain? >> >> Richard > > This sounds like a better solution - I've not looked closely at the > history code yet but I'll get working on this. > > Thanks, > Dan Ok, I've committed this following brief testing. Temporary files are removed between applications of the chain as expected, and it doesn't interfere with other projects as far as I can tell. In batch mode, is there actually any need to save undo history between steps in the first place? It might be better to save it once, before the chain is applied. This would save disk space and would also make it easy to undo the chain all in one go, which might be better from a usability point of view. Dan |