示例#1
0
        //private void EnableReverb() {
        //  if (!chkEnableReverb.Checked) chkEnableReverb.Checked = true;
        //  else if (BassOut != null) BassOut.SetReverb();
        //}

        private void EnableFreeverb()
        {
            if (!chkEnableFreeverb.Checked)
            {
                chkEnableFreeverb.Checked = true;
            }
            else if (BassOut != null)
            {
                BassOut.SetFreeverb();
            }
        }
示例#2
0
        //private void chkEnableReverb_CheckedChanged(object sender, EventArgs e) {
        //  clsBassOut.indReverb[(int)Type] = chkEnableReverb.Checked;
        //  if (BassOut != null) {
        //    if (chkEnableReverb.Checked) BassOut.SetReverb(); else BassOut.UnsetReverb();
        //  }
        //}

        private void chkEnableFreeverb_CheckedChanged(object sender, EventArgs e)
        {
            if (BassOut == null)
            {
                return;
            }
            clsBassOutMidi.indFreeverb[(int)Type] = chkEnableFreeverb.Checked;
            if (BassOut != null)
            {
                if (chkEnableFreeverb.Checked)
                {
                    BassOut.SetFreeverb();
                }
                else
                {
                    BassOut.UnsetFreeverb();
                }
            }
        }