This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.