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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user