1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 08:27:13 +01:00

Move function from AudacityProject to TransportActions

This commit is contained in:
Paul Licameli
2019-04-22 20:23:54 -04:00
parent d2717cac21
commit 22f6ee789c
7 changed files with 13 additions and 13 deletions

View File

@@ -193,6 +193,14 @@ namespace TransportActions {
// exported helper functions
// Stop playing or recording, if paused.
void StopIfPaused( AudacityProject &project )
{
auto flags = GetMenuManager( project ).GetUpdateFlags( project );
if( flags & PausedFlag )
DoStop( project );
}
bool DoPlayStopSelect
(AudacityProject &project, bool click, bool shift)
{