stripped samplerate from constructors

This commit is contained in:
Christopher Herb
2023-07-08 07:25:13 +02:00
parent eaf72afdab
commit 8cd0a2a7df
6 changed files with 11 additions and 26 deletions

View File

@@ -5,11 +5,9 @@
namespace trnr {
class tx_operator {
public:
tx_operator(double samplerate)
tx_operator()
: ratio { 1 }
, amplitude { 1.0f }
, envelope(samplerate)
, oscillator(samplerate)
{
}