steve wrote:Gale Andrews wrote:steve wrote:The only new discoveries that I have made are:
[*] An apparently "out of sequence" data folder structure can be created by discarding Undo History.
Can you explain that one a bit more, please Steve? This sounds as if it could be relevant generally, not just to Audio Cache recording.
1 Generate 30 minutes mono 44.1/32
2 You now have d00 and d01
3 Undo
4 You still have d00 and d01
5 Generate another 30 minutes mono 44.1/32
6 You now have d00, d01, d02
I don't end up with d00, d01, d02 at step 6 either on Win 7 or Ubuntu 12.04; as the new waveform is being drawn at step 5, d00 is removed leaving d01, d02. That makes sense as there is no original audio from step 1 to go back to; if you Do A, Undo A then Do B, you can't go back to A,only to B. That is why the Timer Record Cancel was so dangerous. But it shows how folders can be removed by Undo.
steve wrote:
View Undo History and discard 1 level
You now have d01 and d02
Generate another 30 minutes mono 44.1/32
You now have d01, d02 and d03. There is no d00.
I can't reproduce something like that either, by Generate 1800 seconds tone, Add New Track, Generate 1800 seconds, Add New Track > Generate 1800 seconds, then go back one level and discard, or Undo then go back one level and discard. No folders are removed or their contents reduced. I can get contents reduced if I apply edits and discard those, or remove tracks and discard.
This appears to be the same going back to 1.3.12 (on Windows), Audio Cache on or off, and in 1.2.6 which does not have the Audio Cache feature.
Can you give your exact steps in View History?
I do note that if you are generating with Audio Cache on, the file size in View History is said to be 0.0 MB for the generated tracks, despite the tracks are are also written to disk as I think intended (only recordings are written solely to RAM).
BTW when I was testing the above on Win 7 x64 (newer machine) with Cache on, I got exception errors every time with Minimum Free Memory set to 16 MB while applying a third edit to one of my three 1800-second tracks. I had a lot more than 16 MB system RAM left. Doesn't happen with the old Win 7 x64 machine with identical tests, even though that is down to 120 MB memory remaining.
Gale