| SpeechAudioFormatcreate16BitPCMFormat Method | 
    Produces a SpeechAudioFormat for 16-bit PCM data.
Produces a SpeechAudioFormat for 16-bit PCM data.
 
Namespace: Microsoft.CognitiveServices.SpeechRecognitionAssembly: SpeechClient (in SpeechClient.dll) Version: 0.0.0.0
 Syntax
Syntaxpublic static SpeechAudioFormat create16BitPCMFormat(
	int sampleRate
)
Public Shared Function create16BitPCMFormat ( 
	sampleRate As Integer
) As SpeechAudioFormat
public:
static SpeechAudioFormat^ create16BitPCMFormat(
	int sampleRate
)
static member create16BitPCMFormat : 
        sampleRate : int -> SpeechAudioFormat 
Parameters
- sampleRate
- Type: Int32
 The samples per second of the audio that was encoded (must be 8000 or 16000).The samples per second of the audio that was encoded (can only by 8000 or 16000).
Return Value
Type: 
SpeechAudioFormatThe created SpeechAudioFormat.
Return Value
Type: 
SpeechAudioFormatThe created SpeechAudioFormat.
 See Also
See Also