mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-31 08:58:43 +01:00
AUP3: Minor code cleanup and addition of comments
Probably over commented for some, but I want a good refresher a year from now when I've completely forgotten how it works.
This commit is contained in:
@@ -89,11 +89,20 @@ public:
|
||||
bool SaveProject(const FilePath &fileName, const std::shared_ptr<TrackList> &lastSaved);
|
||||
bool SaveCopy(const FilePath& fileName);
|
||||
|
||||
wxLongLong GetFreeDiskSpace();
|
||||
wxLongLong GetFreeDiskSpace() const;
|
||||
|
||||
// Returns the bytes used for the given sample block
|
||||
int64_t GetBlockUsage(SampleBlockID blockid);
|
||||
|
||||
// Returns the bytes used for all blocks owned by the given track list
|
||||
int64_t GetCurrentUsage(const std::shared_ptr<TrackList> &tracks);
|
||||
|
||||
// Return the bytes used by all sample blocks in the project file, whether
|
||||
// they are attached to the active tracks or held by the Undo manager.
|
||||
int64_t GetTotalUsage();
|
||||
|
||||
// Return the bytes used for the given block using the connection to a
|
||||
// specific database. This is the workhorse for the above 3 methods.
|
||||
static int64_t GetDiskUsage(DBConnection *conn, SampleBlockID blockid);
|
||||
|
||||
const TranslatableString &GetLastError() const;
|
||||
|
||||
Reference in New Issue
Block a user