1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

Ungrey more actions, if paused.

This introduces a new variable, mStopIfWasPaused (default true).  Actions which require AudioIONotBusyFlag will now stop the audio, if audio was busy but paused and attempt to continue.

We could perhaps make mStopAudioIfWasPaused into a preference, but I don't think we need to keep even the option of the old behaviour.
This commit is contained in:
James Crook
2016-08-20 18:52:30 +01:00
parent f77000bcfb
commit 05fe684114
4 changed files with 47 additions and 7 deletions

View File

@@ -350,6 +350,7 @@ class AUDACITY_DLL_API AudacityProject final : public wxFrame,
void RefreshCursor();
void SelectNone();
void SelectAllIfNone();
void StopIfPaused();
void Zoom(double level);
void ZoomBy(double multiplier);
void Rewind(bool shift);
@@ -655,6 +656,7 @@ private:
bool mEmptyCanBeDirty;
bool mSelectAllOnNone;
bool mStopIfWasPaused;
bool mIsSyncLocked;