RecognizedAudio.WriteToAudioStream Method (Stream)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Writes the entire audio to a stream as raw data.

Namespace:   System.Speech.Recognition
Assembly:  System.Speech (in System.Speech.dll)

public void WriteToAudioStream(
	Stream outputStream
)

Parameters

outputStream
Type: System.IO.Stream

The stream that will receive the audio data.

Audio data is written to outputStream in binary form. No header information is included.

The WriteToAudioStream method uses the Wave format, but does not include the Wave header. To include the Wave header, use the WriteToWaveStream method.

.NET Framework
Available since 3.0
Return to top
Show: