ISpStreamFormat (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 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.

Implemented By

Methods in Vtable Order

ISpStreamFormat MethodsDescription
GetFormatPasses back the cached format of the stream.

Development Helpers

Helper Enumerations, Functions and ClassesDescription
SPSTREAMFORMATSAPI supported stream formats
CSpStreamFormatClass for managing SAPI supported stream formats and WAVEFORMATEX structures