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

Method StopIfPaused

src/ProjectAudioManager.cpp:1249–1253  ·  view source on GitHub ↗

Stop playing or recording, if paused.

Source from the content-addressed store, hash-verified

1247
1248// Stop playing or recording, if paused.
1249void ProjectAudioManager::StopIfPaused()
1250{
1251 if( AudioIOBase::Get()->IsPaused() )
1252 Stop();
1253}
1254
1255bool ProjectAudioManager::DoPlayStopSelect( bool click, bool shift )
1256{

Callers 4

CommitChangesMethod · 0.80
OnRewindMethod · 0.80
OnFFMethod · 0.80

Calls 3

GetFunction · 0.85
StopClass · 0.70
IsPausedMethod · 0.45

Tested by

no test coverage detected