Esempio n. 1
0
        public override void Process(int _ticks)
        {
            TicksToWait -= _ticks;
            if (TicksToWait > 0)
            {
                return;
            }

            TicksToWait += 250; // microseconds

            int ticksElapsed = 250;

            // int ticksElapsed = _ticks;

            for (int i = 0; i < 3; i++)
            {
                SIDVoice v = GetVoice(i);
                if (v != null)
                {
                    v.Process(ticksElapsed);
                }
            }

            base.Process(ticksElapsed);
        }