Skip to content

Commit

Permalink
Merge pull request #5 from SteveRussell33/master
Browse files Browse the repository at this point in the history
`onSampleRateChange()` not needed from module ctor
  • Loading branch information
hemmer authored Oct 18, 2024
2 parents 308621d + 2566504 commit ecf80dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/Cosmos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ struct Cosmos : Module {
configOutput(XNOR_OUTPUT, "XNOR (inverted through-zero clipper)");
configOutput(XNOR_GATE_OUTPUT, "XNOR gate");
configOutput(XNOR_TRIG_OUTPUT, "XNOR trigger");

// calculate up/downsampling rates
onSampleRateChange();
}

void onSampleRateChange() override {
Expand Down
3 changes: 0 additions & 3 deletions src/SlewLFO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ struct SlewLFO : Module {
configInput(IN_INPUT, "In");
configOutput(OUT_OUTPUT, "Out");

// calculate up/downsampling rates
onSampleRateChange();

updateCounter.setDivision(128);
}

Expand Down

0 comments on commit ecf80dc

Please sign in to comment.