classafFancomSapi::ISpeechMMSysAudio
sys::Obj afFancomSapi::ISpeechMMSysAudio
Supports audio implementation for the standard Windows wave-in multimedia layer.
http://msdn.microsoft.com/en-us/library/ee125573%28v=vs.85%29.aspx
@clsid {3C76AF6D-1FD7-4831-81D1-3B71D5A13C44}
- bufferInfo
ISpeechAudioBufferInfo? bufferInfo { private set }
Returns the audio buffer information as an ISpeechAudioBufferInfo object.
- bufferNotifySize
Int? bufferNotifySize
Gets and sets the audio stream buffer size information.
- defaultFormat
SpAudioFormat? defaultFormat { private set }
Returns the default audio format as an SpAudioFormat object.
- deviceId
Int? deviceId
Gets and sets the multimedia device ID that is used by the audio object.
- eventHandle
Int? eventHandle { private set }
Returns a Win32 event handle that applications can use to wait for status changes in the I/O stream.
- format
SpAudioFormat? format
Gets and sets the cached wave format of the stream as an SpAudioFormat object.
- lineId
Int? lineId
Gets and sets the current line identifier associated with the multimedia device.
- mMHandle
Int? mMHandle { private set }
Returns the handle of the multimedia audio device stream.
- makeFromDispatch
new makeFromDispatch(Dispatch dispatch)
- read
Int? read(Variant? buffer, Int? numberOfBytes)
Reads data from the audio stream.
- seek
Variant seek(Variant? position, SpeechStreamSeekPositionType? origin := ...)
Returns the current read position of the audio stream in bytes.
- setState
Void setState(SpeechAudioState? state)
Sets the audio state with a SpeechAudioState constant.
- status
ISpeechAudioStatus? status { private set }
Returns the audio status as an ISpeechAudioStatus object.
- volume
Int? volume
Gets and sets the volume level.
- write
Writes data to the audio stream.