From 25665040d3e46ab6b2172926d1113d8816b58eba Mon Sep 17 00:00:00 2001 From: Steve Russell Date: Thu, 17 Oct 2024 21:05:43 +0100 Subject: [PATCH] onSampleRateChange() not needed from module ctor --- src/Cosmos.cpp | 3 --- src/SlewLFO.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/Cosmos.cpp b/src/Cosmos.cpp index e4d81ce..e0f8de8 100644 --- a/src/Cosmos.cpp +++ b/src/Cosmos.cpp @@ -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 { diff --git a/src/SlewLFO.cpp b/src/SlewLFO.cpp index 2e50545..c989db2 100644 --- a/src/SlewLFO.cpp +++ b/src/SlewLFO.cpp @@ -60,9 +60,6 @@ struct SlewLFO : Module { configInput(IN_INPUT, "In"); configOutput(OUT_OUTPUT, "Out"); - // calculate up/downsampling rates - onSampleRateChange(); - updateCounter.setDivision(128); }