/// <summary> /// Speech detected event handler /// </summary> /// <param name="sender"></param> /// <param name="eventArgs"></param> private void SpeechDetectedHandler(object sender, SpeechDetectedEventArgs eventArgs) { SpeechDetected msg = new SpeechDetected(); SpeechDetectedNotification notification = new SpeechDetectedNotification(); ReadKinectMicArrayInfo(notification); msg.Body = notification; SendNotification(subMgrPort, msg); }
/// <summary> /// Speech detected event handler /// </summary> /// <param name="sender"></param> /// <param name="eventArgs"></param> private void SpeechDetectedHandler(object sender, SpeechDetectedEventArgs eventArgs) { SpeechDetected msg = new SpeechDetected(); SpeechDetectedNotification notification = new SpeechDetectedNotification(); notification.StartTime = DateTime.Now; msg.Body = notification; SendNotification(_subMgrPort, msg); }