private void CleanupStop( ) { if (!VideoRunning && !PhotoRunning) { WakeProcessing.Reset( ); } }
public void StartPhoto( ) { if (PhotoRunning) { return; } PhotoRunning = true; if (VideoRunning) { StopVideo( ); } var hr = PhotoControl.Run( ); checkHR(hr, "Failed running graph"); WakeProcessing.Set( ); }