AudioSignalProblemOccurredEventArgs.AudioPosition Property

Definition

Gets the position in the input device's audio stream that indicates where the problem occurred.

public TimeSpan AudioPosition { get; }

Property Value

The position in the input device's audio stream when the AudioSignalProblemOccurred event was raised.

Remarks

The AudioPosition property references the input device's position in its generated audio stream. 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.

Applies to

Өнім Нұсқалар
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)