public LineCalibratorViewModel() { MeasureClippingCommand = new SimpleCommand(() => MeasureClipping()); InputDevices = _audioDeviceRepository.GetCaptureDevices().ToArray(); if (InputDevices.Any()) { SelectedInputDevice = InputDevices.FirstOrDefault(); } }