private void parameq_CheckedChanged(object sender, System.EventArgs e) { FMOD.RESULT result; bool active = false; result = dspparameq.getActive(ref active); ERRCHECK(result); if (active) { result = dspparameq.remove(); ERRCHECK(result); } else { result = system.addDSP(dspparameq, ref dspconnectiontemp); ERRCHECK(result); } }