All those little .au files

This section is now closed.
Forum rules
This forum is now closed.

For help with current Audacity, please post to the 2.x. board for your operating system.

Please post feedback about the current 2.x version on the 2.x.feedback board.
Locked
kozikowski
Forum Staff
Posts: 69374
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

All those little .au files

Post by kozikowski » Fri Dec 03, 2010 3:40 am

By what method are the Audacity 1.3 .au project files numbered? I know there must be some method, only because randomly numbering them (what it looks like) without collisions would be too much work.

Koz

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: All those little .au files

Post by Gale Andrews » Sun Dec 05, 2010 11:05 pm

kozikowski wrote:By what method are the Audacity 1.3 .au project files numbered? I know there must be some method, only because randomly numbering them (what it looks like) without collisions would be too much work.
Koz
Glancing at DirManager.cpp, I believe the blockfile numbering (and the numbering of the projects) really is random (uses a random number generator). I've never seen a definitive explanation, but it looks as if the automatic recovery code as written requires this randomness.

The only "rule" I know is that the fourth numeric character in the filename of the .au file (for example, a "1" in a file named e0001932.au) tells you the "d" folder that file is in (d01 in that case).



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Locked