1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-17 22:21:17 +01:00

New class ProjectAudioManager implements AudioIO callbacks

This commit is contained in:
Paul Licameli
2019-06-06 08:57:10 -04:00
parent feb35a2601
commit 0c2c2803a3
3 changed files with 63 additions and 25 deletions

View File

@@ -472,7 +472,7 @@ void OnTimerRecord(const CommandContext &context)
// However, we can't undo it here because the PushState() is called in TrackPanel::OnTimer(),
// which is blocked by this function.
// so instead we mark a flag to undo it there.
ProjectManager::Get( project ).SetTimerRecordCancelled();
ProjectAudioManager::Get( project ).SetTimerRecordCancelled();
break;
case POST_TIMER_RECORD_NOTHING:
// No action required