[Audacity-devel] Update: Automatic crash recovery
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Markus M. <me...@me...> - 2006-07-24 15:08:23
|
Hi everyone, the following has now been implemented and committed: * When an auto-recovered .aup file is opened, it is now checked for orphaned/missing blockfiles etc. and silently and safely corrected without doing damage to the original project. When the project is saved, all orphaned blockfiles (those would belong to the old, crashed project) are automatically deleted. This means, a saved, recovered project should now automatically be free from defects * While recording, auto-recovery information is now collected (I tried to make the changes in some core files as unobtrusive as possible), but the saving and loading of this information is not yet implemented. If you're interested in how it works, you can remove the commenting from the printfs at the end of Project.cpp Two other small fixes have been commited: * AudioIO now checks the return values of some Portaudio functions now more thoroughly and fails cleanly if e.g, PortAudio finds a device but cannot retrieve any info on it. This should avoid crashes some users have experienced with ALSA on Linux * When a project is now overwritten by save-as, orphaned blockfiles are automatically cleared from the project folder Markus |