Skip to content

Commit

Permalink
removed DEBUG statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahornberg committed Nov 11, 2022
1 parent c9f11d3 commit dabc714
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/modules/Manual/ManualWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ void ManualWidget::step() {
}
if (manualText && manualText != lastManualText && !manualText->manualTitle.empty()) {
lastManualText = manualText;
DEBUG("%s", manualText->manualTitle.c_str());
DEBUG("%s", manualText->manualContent.c_str());
// DEBUG("%s", manualText->manualTitle.c_str());
// DEBUG("%s", manualText->manualContent.c_str());
}
}
BaseModuleWidget::step();
Expand Down
4 changes: 2 additions & 2 deletions src/modules/TapeRecorder/TapeRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void TapeRecorder::initTape(InitTape what) {
bool loaded = false;
// APP->engine->yieldWorkers();
// mylock.lock();
DEBUG("onLoad %s", system::join(getAudioFileDir(), audioFilePath).c_str());
// DEBUG("onLoad %s", system::join(getAudioFileDir(), audioFilePath).c_str());
loaded = audioFile.load(system::join(getAudioFileDir(), audioFilePath));
// mylock.unlock();
if (loaded) {
Expand Down Expand Up @@ -824,7 +824,7 @@ void TapeRecorder::onSave(const SaveEvent& e) {
audioSavePath = std::to_string(id) + ".wav";
}
audioFile.save(system::join(getAudioFileDir(), audioSavePath), AudioFileFormat::Wave);
DEBUG("onSave %s", system::join(getAudioFileDir(), audioSavePath).c_str());
// DEBUG("onSave %s", system::join(getAudioFileDir(), audioSavePath).c_str());
}
}

Expand Down
1 change: 0 additions & 1 deletion src/modules/TapeRecorder/TapeRecorderWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ void CueBackwardsSwitch::onButton(const event::Button& e) {
if (tapeRecorder && tapeRecorder->params[TapeRecorder::CUE_BACKWARDS_PARAM].getValue()) {
int mods = APP->window->getMods();
if ((mods & RACK_MOD_MASK) == RACK_MOD_CTRL) {
DEBUG("RACK_MOD_CTRL");
tapeRecorder->jumpToTapePosition(TapeRecorder::JUMP_BACKWARDS);
tapeRecorder->params[TapeRecorder::CUE_FORWARDS_PARAM].setValue(0.);
tapeRecorder->params[TapeRecorder::CUE_BACKWARDS_PARAM].setValue(0.);
Expand Down
6 changes: 3 additions & 3 deletions src/test/Asserts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

bool assertEquals(int value1, int value2, const char* message) {
if (value1 != value2) {
DEBUG("%s", message);
DEBUG("value1: %d", value1);
DEBUG("value2: %d", value2);
// DEBUG("%s", message);
// DEBUG("value1: %d", value1);
// DEBUG("value2: %d", value2);
return false;
}
return true;
Expand Down

0 comments on commit dabc714

Please sign in to comment.