예제 #1
0
        private void echoA_Click(object sender, System.EventArgs e)
        {
            if (echo)
            {
                groupA.addDSP(dspecho, ref dspconnectiontemp);
            }
            else
            {
                dspecho.remove();
            }

            echo = !echo;
        }
예제 #2
0
        private void reverbA_Click(object sender, System.EventArgs e)
        {
            if (reverb)
            {
                groupA.addDSP(dspreverb, ref dspconnectiontemp);
            }
            else
            {
                dspreverb.remove();
            }

            reverb = !reverb;
        }
예제 #3
0
        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);
            }
        }