Skip to content

Commit 40a3a21

Browse files
Merge pull request #120583 from AzureMentor/patch-50
Fixed mismatch between instruction and the actual code
2 parents c71f087 + b158870 commit 40a3a21

File tree

1 file changed

+1
-1
lines changed
  • articles/ai-services/speech-service/includes/how-to/recognize-speech

1 file changed

+1
-1
lines changed

articles/ai-services/speech-service/includes/how-to/recognize-speech/csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You can initialize `SpeechConfig` in a few other ways:
4545
4646
## Recognize speech from a microphone
4747

48-
To recognize speech by using your device microphone, create an [`AudioConfig`](/dotnet/api/microsoft.cognitiveservices.speech.audio.audioconfig) instance by using the `FromDefaultMicrophoneInput()` method. Then initialize the[`SpeechRecognizer`](/dotnet/api/microsoft.cognitiveservices.speech.speechrecognizer) object by passing `audioConfig` and `speechConfig`.
48+
To recognize speech by using your device microphone, create an [`AudioConfig`](/dotnet/api/microsoft.cognitiveservices.speech.audio.audioconfig) instance by using the `FromDefaultMicrophoneInput()` method. Then initialize the [`SpeechRecognizer`](/dotnet/api/microsoft.cognitiveservices.speech.speechrecognizer) object by passing `speechConfig` and `audioConfig`.
4949

5050
```csharp
5151
using System;

0 commit comments

Comments
 (0)