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

Source

SpAudioFormat? format

Gets and sets the cached wave format of the stream as an SpAudioFormat object.

makeFromDispatch

Source

new makeFromDispatch(Dispatch dispatch)

read

Source

Int? read(Variant? buffer, Int? numberOfBytes)

Reads data from the audio stream.

seek

Source

Variant seek(Variant? position, SpeechStreamSeekPositionType? origin := ...)

Returns the current read position of the audio stream in bytes.

toISpeechAudio

Source

ISpeechAudio toISpeechAudio()

toSpCustomStream

Source

SpCustomStream toSpCustomStream()

toSpFileStream

Source

SpFileStream toSpFileStream()

toSpMemoryStream

Source

SpMemoryStream toSpMemoryStream()

write

Source

Int? write(Variant? buffer)

Writes data to the audio stream.