ISpStreamFormat (Windows CE 5.0)
This interface is the minimum extra interface required by SAPI on top of the IStream interface. It inherits from IStream, and allows SAPI to 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 existing IStream already exists, it can be conveniently used with SAPI by using the provided ISpStream object. In typical use, this interface does not need to be implemented.
Implemented By
- SpMMAudioIn
- SpMMAudioOut
- SpStreamFormatConverter
- SpStream
Methods
The following table lists the method for the ISpStreamFormat interface.
Method | Description |
---|---|
GetFormat | Passes back the cached format of the stream. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.
See Also
Send Feedback on this topic to the authors