MediaPortal.MusicPlayer.BASS.BassAudioEngine.Process C# (CSharp) Method

Process() public method

Process Method
public Process ( ) : void
return void
    public override void Process()
    {
      if (!Playing)
      {
        return;
      }

      if (!Config.UseSkipSteps)
      {
        TimeSpan ts = DateTime.Now - _seekUpdate;
        if (_speed > 1 && ts.TotalMilliseconds > 120)
        {
          SeekForward(80 * _speed);
          _seekUpdate = DateTime.Now;
        }
        else if (_speed < 0 && ts.TotalMilliseconds > 120)
        {
          SeekReverse(80 * -_speed + (int)ts.TotalMilliseconds);
          _seekUpdate = DateTime.Now;
        }
      }

      if (NotifyPlaying && CurrentPosition >= 10.0)
      {
        NotifyPlaying = false;
        GUIMessage msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_PLAYING_10SEC, 0, 0, 0, 0, 0, null);
        msg.Label = CurrentFile;
        GUIWindowManager.SendThreadMessage(msg);
      }
    }