public override void ResetEQ(int NumBands, float[] EqValues) { if (numEqBands != NumBands) { numEqBands = NumBands; eq = new EqualizerDSP(numEqBands, frequency, EqValues); updateEqGain(); } else { eq.EqValues = EqValues; } updateGain(); }
protected void setupEqualizer() { this.eq = new EqualizerDSP(numEqBands, frequency, equalizer); updateEqGain(); }