Skip to content

Commit 8f4f07c

Browse files
authored
Corrected "![NOTE" to "[!NOTE"
1 parent c1b5cc9 commit 8f4f07c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cognitive-services/Speech-Service/includes/how-to/text-to-speech-basics/text-to-speech-basics-cpp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ For many scenarios in speech application development, you likely need the result
120120

121121
It's simple to make this change from the previous example. First, remove the `AudioConfig`, as you will manage the output behavior manually from this point onward for increased control. Then pass `NULL` for the `AudioConfig` in the `SpeechSynthesizer` constructor.
122122

123-
> ![NOTE]
123+
> [!NOTE]
124124
> Passing `NULL` for the `AudioConfig`, rather than omitting it like in the speaker output example above, will not play the audio by default on the current active output device.
125125

126126
This time, you save the result to a [`SpeechSynthesisResult`](https://docs.microsoft.com/cpp/cognitive-services/speech/speechsynthesisresult) variable. The `GetAudioData` getter returns a `byte []` of the output data. You can work with this `byte []` manually, or you can use the [`AudioDataStream`](https://docs.microsoft.com/cpp/cognitive-services/speech/audiodatastream) class to manage the in-memory stream. In this example you use the `AudioDataStream.FromResult()` static function to get a stream from the result.
@@ -234,4 +234,4 @@ To switch to a neural voice, change the `name` to one of the [neural voice optio
234234
</mstts:express-as>
235235
</voice>
236236
</speak>
237-
```
237+
```

0 commit comments

Comments
 (0)