1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-24 23:13:42 +02:00

New attached structure ProjectAudioIO handles tokens and meters

This commit is contained in:
Paul Licameli
2019-06-02 13:30:56 -04:00
parent 20ed57082f
commit 1f4202c878
27 changed files with 169 additions and 109 deletions

View File

@@ -267,7 +267,7 @@ void OnAddLabel(const CommandContext &context)
void OnAddLabelPlaying(const CommandContext &context)
{
auto &project = context.project;
auto token = project.GetAudioIOToken();
auto token = ProjectAudioIO::Get( project ).GetAudioIOToken();
if (token > 0 &&
gAudioIO->IsStreamActive(token)) {