void init(int _channels, double _sampleRate) override {
     AKSoundpipeKernel::init(_channels, _sampleRate);
     sp_rms_create(&leftRMS);
     sp_rms_create(&rightRMS);
     leftRMS->ihp = halfPowerPoint;
     rightRMS->ihp = halfPowerPoint;
     sp_rms_init(sp, leftRMS);
     sp_rms_init(sp, rightRMS);
 }
    void init(int channelCount, double inSampleRate) {
        channels = channelCount;

        sampleRate = float(inSampleRate);

        sp_create(&sp);
        sp_rms_create(&rms);
        sp_rms_init(sp, rms);
        rms->ihp = 10;
    }
 void init(int _channels, double _sampleRate) override {
     AKSoundpipeKernel::init(_channels, _sampleRate);
     sp_rms_create(&rms);
     rms->ihp = halfPowerPoint;
     sp_rms_init(sp, rms);
 }