Click or drag to resize
ConversationCreateAudioStream Method (SpeechAudioFormat)
Gets an audio stream with the specified format. Use this method when sending raw audio samples.

Namespace: Microsoft.CognitiveServices.SpeechRecognition
Assembly: SpeechClient (in SpeechClient.dll) Version: 0.0.0.0
Syntax
public virtual Stream CreateAudioStream(
	SpeechAudioFormat format
)

Parameters

format
Type: Microsoft.CognitiveServices.SpeechRecognitionSpeechAudioFormat
Audio features that describe the encoding and sampling rate of the audio.

Return Value

Type: Stream
The new audio stream

Implements

IConversationCreateAudioStream(SpeechAudioFormat)
See Also