Ejemplo n.º 1
0
        public void ForceOutputLine2(ExciterOutputLine value)
        {
            _outputLine2 = value;
            switch (_outputLine2)
            {
            case ExciterOutputLine.Line1:
                ExciterManagerApi.Line1(false, true);
                break;

            case ExciterOutputLine.Line2:
                ExciterManagerApi.Line2(false, true);
                break;

            case ExciterOutputLine.Mic:
                ExciterManagerApi.Mic(false, true);
                break;

            case ExciterOutputLine.Mmc:
                ExciterManagerApi.Mmc(false, true);
                break;

            case ExciterOutputLine.Noise:
                ExciterManagerApi.Noise(ExciterNoise.Off, NoiseSource2);
                break;

            case ExciterOutputLine.Tone:
                ExciterManagerApi.ToneFrequency(0, ToneSource2);
                break;
            }
        }
Ejemplo n.º 2
0
        public void ForceOutputLine1(ExciterOutputLine value)
        {
            _outputLine1 = value;
            switch (_outputLine1)
            {
            case ExciterOutputLine.Line1:
                ExciterManagerApi.Line1(true, false);
                break;

            case ExciterOutputLine.Line2:
                ExciterManagerApi.Line2(true, false);
                break;

            case ExciterOutputLine.Mic:
                ExciterManagerApi.Mic(true, false);
                break;

            case ExciterOutputLine.Mmc:
                ExciterManagerApi.Mmc(true, false);
                break;

            case ExciterOutputLine.Noise:
                ExciterManagerApi.Noise(NoiseSource1, ExciterNoise.Off);
                break;

            case ExciterOutputLine.Tone:
                ExciterManagerApi.ToneFrequency(ToneSource1, 0);
                break;
            }
        }