AudioSignalProblemOccurredEventArgs.RecognizerAudioPosition 属性

定义

获取识别器已接收的音频输入中指示何处发生问题的位置。Gets the position in the audio input that the recognizer has received that indicates where the problem occurred.

public:
 property TimeSpan RecognizerAudioPosition { TimeSpan get(); };
public TimeSpan RecognizerAudioPosition { get; }
member this.RecognizerAudioPosition : TimeSpan
Public ReadOnly Property RecognizerAudioPosition As TimeSpan

属性值

TimeSpan

引发 AudioSignalProblemOccurred 事件时识别器收到的音频输入中的位置。The position in the audio input that the recognizer has received when the AudioSignalProblemOccurred event was raised.

注解

AudioPosition属性引用输入设备在其生成的音频流中的位置。The AudioPosition property references the input device's position in its generated audio stream. 与此相反,该 RecognizerAudioPosition 属性引用识别器在其音频输入中的位置。By contrast, the RecognizerAudioPosition property references the recognizer's position within its audio input. 这些位置可能不同。These positions can be different. 有关详细信息,请参阅 使用语音识别事件For more information, see Using Speech Recognition Events.

适用于