MCPcopy Create free account
hub / github.com/audacity/audacity / Playing

Method Playing

src/ProjectAudioManager.cpp:1165–1175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1163}
1164
1165bool ProjectAudioManager::Playing() const
1166{
1167 auto gAudioIO = AudioIO::Get();
1168 return
1169 gAudioIO->IsBusy() &&
1170 CanStopAudioStream() &&
1171 // ... and not merely monitoring
1172 !gAudioIO->IsMonitoring() &&
1173 // ... and not punch-and-roll recording
1174 gAudioIO->GetNumCaptureChannels() == 0;
1175}
1176
1177bool ProjectAudioManager::Recording() const
1178{

Callers 4

PlayPlayRegionAndWaitMethod · 0.80
OnKeyEventMethod · 0.80
OnIdleMethod · 0.80

Calls 3

GetFunction · 0.85
IsBusyMethod · 0.80
IsMonitoringMethod · 0.45

Tested by

no test coverage detected