Partager via


ISpStream (SAPI 5.3)

Microsoft Speech API 5.3

ISpStream

This interface provides two distinct functions:

  • The application developer can wrap an existing stream up by providing both an IStream and its format so that the underlying ISpStreamFormat can provide this data to SAPI when required. The new ISpStream object can be used as an input for SAPI wherever SAPI requires an ISpStreamFormat.
  • ISpStream creates an object from a file suitable for SAPI usage using BindToFile. The helper function SPBindToFile may also be used to simplify this process even further.
Implemented By

Methods in Vtable Order

ISpStream Methods
SetBaseStream
GetBaseStream
BindToFile
Close

Development Helpers

Helper Enumerations, Functions and Classes
SPSTREAMFORMAT
CSpStreamFormat