Skip to content

Commit

Permalink
Disable AudioEditor when acquisition is active. Closes #198
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaldoshi committed Dec 18, 2020
1 parent fcd3a56 commit ba184b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/UI/ControlPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ void ControlPanel::buttonClicked(Button* button)

audio->beginCallbacks(); // launches acquisition
masterClock->start(); // starts the clock
//audioEditor->disable();
audioEditor->disable();

stopTimer();
startTimer(250); // refresh every 250 ms
Expand Down Expand Up @@ -930,7 +930,7 @@ void ControlPanel::buttonClicked(Button* button)
startRecording();
masterClock->start();
audio->beginCallbacks();
//audioEditor->disable();
audioEditor->disable();

stopTimer();
startTimer(250); // refresh every 250 ms
Expand Down

0 comments on commit ba184b6

Please sign in to comment.