classafFancomSapi::ISpeechBaseStream
sys::Obj afFancomSapi::ISpeechBaseStream
Defines properties and methods for manipulating data streams.
http://msdn.microsoft.com/en-us/library/ee125250%28v=vs.85%29.aspx
@clsid {6450336F-7D49-4CED-8097-49D6DEE37294}
- format
SpAudioFormat? formatGets and sets the cached wave format of the stream as an SpAudioFormat object.
- 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.
- toISpeechAudio
ISpeechAudio toISpeechAudio()- toSpCustomStream
SpCustomStream toSpCustomStream()- toSpFileStream
SpFileStream toSpFileStream()- toSpMemoryStream
SpMemoryStream toSpMemoryStream()- write
Writes data to the audio stream.