Exemplo n.º 1
0
 /// <summary>
 /// Used to initiate sending the PeakLevelChanged notifications.
 /// Currently this typically happens when the Recorder instance is created,
 /// which is usually when the talking book tool asks for the AudioDevicesJson.
 /// This is not very intuitive, but it's the most easily detectable event
 /// that indicates that the talking book tool is actually active.
 /// </summary>
 public void BeginMonitoring()
 {
     if (!RecordingDevice.Devices.Contains(RecordingDevice))
     {
         RecordingDevice = RecordingDevice.Devices.FirstOrDefault();
     }
     if (RecordingDevice != null)
     {
         Recorder.BeginMonitoring();
     }
 }