1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-23 06:31:17 +01:00

Prevent random activations of the Pause button

I don't know how this hasn't been seen before, but Cliff found that
opening Audacity via Commander One would, more often than not, cause
the pause button to enable when you started monitoring.

Seems it was picking up uninitialized memory values, but near as I can
tell, this has been this way for a very long time (like forever).  So,
it's possible that I've not completely identified the culprit.

Even so, this should be initialized anyway and Cliff reports that it
does resolve the problem for him.
This commit is contained in:
Leland Lucius
2020-03-18 11:59:41 -05:00
parent 88dd25853e
commit d8dd9a0cc8

View File

@@ -990,6 +990,7 @@ AudioIO::AudioIO()
mLastRecordingOffset = 0.0;
mNumCaptureChannels = 0;
mPaused = false;
mSilenceLevel = 0.0;
mUpdateMeters = false;
mUpdatingMeters = false;