Skip to content

Commit 43413db

Browse files
Correcting the documentation
It actually returns a MemoryStream, not a FileStream.
1 parent d531935 commit 43413db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IBM.WatsonDeveloperCloud.TextToSpeech.v1/TextToSpeechService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public Voices ListVoices(Dictionary<string, object> customData = null)
199199
/// that owns the custom model. Omit the parameter to use the specified voice with no customization.
200200
/// (optional)</param>
201201
/// <param name="customData">Custom data object to pass data including custom request headers.</param>
202-
/// <returns><see cref="System.IO.FileStream" />System.IO.FileStream</returns>
202+
/// <returns><see cref="System.IO.MemoryStream" />System.IO.MemoryStream</returns>
203203
public System.IO.MemoryStream Synthesize(Text text, string accept = null, string voice = null, string customizationId = null, Dictionary<string, object> customData = null)
204204
{
205205
if (text == null)

0 commit comments

Comments
 (0)