| 30 | #include "UIControlMacros.h" |
| 31 | |
| 32 | DistortionEffect::DistortionEffect() |
| 33 | { |
| 34 | SetClip(1); |
| 35 | |
| 36 | for (int i = 0; i < ChannelBuffer::kMaxNumChannels; ++i) |
| 37 | { |
| 38 | mDCRemover[i].SetFilterParams(10, sqrt(2) / 2); |
| 39 | mDCRemover[i].SetFilterType(kFilterType_Highpass); |
| 40 | mDCRemover[i].UpdateFilterCoeff(); |
| 41 | |
| 42 | mPeakTracker[i].SetDecayTime(.1f); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | void DistortionEffect::CreateUIControls() |
| 47 | { |
nothing calls this directly
no test coverage detected