SetShapeXmaInputBufferReadOffset

Sets the input buffer read offset.

Syntax

HRESULT SetShapeXmaInputBufferReadOffset(
         SHAPE_XMA_CONTEXT *context,
         UINT32 offsetInBits
)  

Parameters

context
Type: SHAPE_XMA_CONTEXT *

[in, out] Pointer to a SHAPE_XMA_CONTEXT structure.

offsetInBits
Type: UINT32 

The offset in bits from the beginning of the input buffer.

Return value

Type: HRESULT 

HRESULT success or error code.

Remarks

The input buffer read offset for XMA contexts should normally be initialized to 32 for the hardware XMA decoder (or 32 plus some multiple of 2048 bytes).

Requirements

Header: Declared in shapexmacontext.h.

Library: Use acphal.lib.