ISpStreamFormatConverter::ScaleConvertedToBaseOffset (Windows CE 5.0)
This method maps a stream offset from the converted stream to the equivalent offset in the base stream.
HRESULT ScaleConvertedToBaseOffset(ULONGLONG ullOffsetConvertedStream,ULONGLONG* pullOffsetBaseStream);
Parameters
- ullOffsetConvertedStream
[in] Offset in the converted stream. - pullOffsetBaseStream
[out] Pointer to the equivalent offset in the base stream.
Remarks
When performing a mapping with a compressed format it is possible to introduce small rounding errors, because the content of the audio is not used to perform the conversion.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | pullOffsetBaseStream is invalid. |
SPERR_UNINITIALIZED | The base stream has not been initialized. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.
See Also
ISpStreamFormatConverter | SAPI Interfaces
Send Feedback on this topic to the authors