1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Commit autosave blobs during recording only as needed...

... when there really is at least one new sample block committed to the table,
which is typically only once in about every six seconds, with the default rate
and sample format.

Also renamed a callback function more aptly, since blocks are not files any
more.
This commit is contained in:
Paul Licameli
2020-07-10 19:05:48 -04:00
parent 047fa18afd
commit 6eb6aab8f5
8 changed files with 21 additions and 11 deletions

View File

@@ -25,7 +25,7 @@ public:
virtual void OnAudioIOStartRecording() = 0;
virtual void OnAudioIOStopRecording() = 0;
virtual void OnAudioIONewBlockFiles(const WaveTrackArray *tracks) = 0;
virtual void OnAudioIONewBlocks(const WaveTrackArray *tracks) = 0;
// Commit the addition of temporary recording tracks into the project
virtual void OnCommitRecording() = 0;