Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

ISpStreamFormat

ISpStreamFormat inherits from IStream.

This is the minimum extra interface required by the Speech Platform in addition to the IStream interface. Using this interface, the Speech Platform can query the stream to determine the format of the stream data. Almost all the Speech Platform functions that require or return 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, the Speech Platform 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 Methods Description
GetFormat Passes back the cached format of the stream.

Development Helpers

Enumeration, Function, or Class Description
SPSTREAMFORMAT The stream formats that the Speech Platform supports.
CSpStreamFormat Class for managing stream formats and WAVEFORMATEX structures that the Speech Platform supports.