System.Speech.AudioFormat

System.Speech.AudioFormat Namespace

 

The System.Speech.AudioFormat namespace consists of a single class, SpeechAudioFormatInfo, which contains information about the format of the audio that is being input to the speech recognition engine, or being output from the speech synthesis engine.

ClassDescription
System_CAPS_pubclassSpeechAudioFormatInfo

Represents information about an audio format.

EnumerationDescription
System_CAPS_pubenumAudioBitsPerSample

Enumerates values that describe the bits-per-sample characteristic of an audio format.

System_CAPS_pubenumAudioChannel

Enumerates values that indicate the number of channels in the audio format.

System_CAPS_pubenumEncodingFormat

Enumerates values that describe the encoding format of audio.

You can use the properties of SpeechAudioFormatInfo to obtain information about specific characteristics of an audio format. These properties are read-only, except for BlockAlign, which you can use to set the block alignment of incoming audio. To get all the properties of the incoming audio format, use the FormatSpecificData method.

Using the constructors on the SpeechAudioFormatInfo class, you can specify any of the properties of the audio format when you initialize the object.

Return to top
Show:
© 2016 Microsoft