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

ISpeechAudio Interface (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpeechAudio

The ISpeechAudio automation interface supports the control of real-time audio streams, such as those connected to a live microphone or telephone line.

The Format property and the Read, Write and Seek methods are inherited from the ISpeechBaseStream interface.


Automation Interface Elements

The ISpeechAudio automation interface contains the following elements:


PropertiesDescription
BufferInfo PropertyReturns the audio buffer information as an ISpeechAudioBufferInfo object.
BufferNotifySize PropertyReturns the audio stream buffer size information.
DefaultFormat PropertyReturns the default audio format as an SpAudioFormat object.
EventHandle PropertyReturns a Win32 event handle that applications can use to wait for status changes in the I/O stream.
Format PropertyGets and sets the cached wave format of the audio stream or device.
Status PropertyReturns the audio status as an ISpeechAudioStatus object.
Volume PropertyGets and sets the volume level.
MethodsDescription
Read MethodReads data from an audio stream.
Seek MethodReturns the current read position of the audio stream in bytes.
SetState MethodSets the audio state with a SpeechAudioState constant.
Write MethodWrites data to the audio stream.
Show:
© 2015 Microsoft