次の方法で共有


ISpStreamFormatConverter::ScaleConvertedToBaseOffset (Windows Embedded CE 6.0)

1/6/2010

This methodmaps a stream offset from the converted stream to the equivalent offset in the base stream.

Syntax

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 Value

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

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpStreamFormatConverter
SAPI Interfaces