Skip to content

Commit

Permalink
Initialize DSP settings in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegle committed Feb 23, 2024
1 parent 56eb872 commit 05d32c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/DeviceThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ DeviceThread::DeviceThread(SourceNode* sn) : DataThread(sn),
dacChannels[k] = 0;
dacThresholds[k] = 0;
}

// ensure DSP settings are initialized
setDspCutoffFreq(settings.dsp.cutoffFreq);
setDSPOffset(settings.dsp.enabled);
}
}

Expand Down

0 comments on commit 05d32c8

Please sign in to comment.