ISpStreamFormat (SAPI 5.3)
ISpStreamFormat inherits from IStream.
This is the minimum extra interface required by SAPI in addition to the IStream interface. Using this interface, SAPI can query the stream to determine the format of the stream data. Almost all SAPI functions requiring or returning a stream will require or return an ISpStreamFormat.
When to Implement
This interface should be implemented when implementing a stream from scratch. If an IStream already exists, SAPI can use it with the provided ISpStream object. In normal usage, this interface does not need to be implemented.
Methods in Vtable Order
|GetFormat||Passes back the cached format of the stream.|
|Helper Enumerations, Functions and Classes||Description|
|SPSTREAMFORMAT||SAPI supported stream formats|
|CSpStreamFormat||Class for managing SAPI supported stream formats and WAVEFORMATEX structures|