private void TuneNextLag(LagInfo recentlyTuned) { if (recentlyTuned != null) { recentlyTuned.IsRecording = false; _lagsForTuning.RemoveFirst(); } else { _listener.Start(); _processor.Start(); } var next = _lagsForTuning.First; if (next == null) { if (_processor.Working) { _processor.Stop(); } if (_listener.Working) { _listener.Stop(); } } else { _lags[next.Value].IsRecording = true; } }
public LagView(LagInfo info) { _info = info; }