1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-28 00:00:18 +01:00

AUP3: Better space usage calculations

Several improvements in determining how much actual disk space a
sampleblock uses. This allows us to provide how much space will
be recovered when using File -> Compact Project.

In addition, the History window now provides better space estimates.
This commit is contained in:
Leland Lucius
2020-08-01 04:25:42 -05:00
parent 59c3b360b7
commit 8943494f8a
6 changed files with 282 additions and 49 deletions

View File

@@ -20,9 +20,9 @@ list( APPEND INCLUDES
list( APPEND DEFINES
PRIVATE
#
# We need the dbstats table for space calculations.
# We need the dbpage table for space calculations.
#
SQLITE_ENABLE_DBSTAT_VTAB=1
SQLITE_ENABLE_DBPAGE_VTAB=1
# Can't be set after a WAL mode database is initialized, so change
# the default here to ensure all project files get the same page