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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user