1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 07:43:54 +02:00

Gather balance info hashes into one struct guarded by an accessor...

Doing BalanceInfoDel in this delayed fashion will be needed when the other
call to it is eliminated, as shared_ptr simplifies the management of BlockFile
and makes the many calls to Ref and Deref disappear.
This commit is contained in:
Paul Licameli
2016-08-15 13:49:59 -04:00
parent cde61edbf4
commit 84ccdca5c3
4 changed files with 79 additions and 6 deletions

View File

@@ -64,6 +64,8 @@ class PROFILE_DLL_API BlockFile /* not final, abstract */ {
BlockFile(wxFileNameWrapper &&fileName, sampleCount samples);
virtual ~BlockFile();
static unsigned long gBlockFileDestructionCount;
// Reading
/// Retrieves audio data from this BlockFile