| 1163 | } |
| 1164 | |
| 1165 | bool 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 | |
| 1177 | bool ProjectAudioManager::Recording() const |
| 1178 | { |
no test coverage detected