Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SpAudioFormat Interface (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

SpAudioFormat

The SpAudioFormat automation object represents an audio format.

Most applications using standard audio formats will use the Type property to set and retrieve formats. Non-standard formats using wav files will use SetWavFormatEx and GetWaveFormatEx to set and retrieve formats, respectively. Non-standard formats using sources other than wav files use Guid.

Automation Interface Elements

The SpAudioFormat automation object has the following elements:


PropertiesDescription
Guid PropertyReturns the GUID of the default format.
Type PropertyGets and sets the speech audio format as a SpeechAudioFormatType.
MethodsDescription
GetWaveFormatEx MethodGets the audio format as an SpWaveFormatEx object.
SetWaveFormatEx MethodSets the audio format with an SpWaveFormatEx object.
Show:
© 2015 Microsoft