SetShapePcmReadPointer

Sets the read pointer.

Syntax

HRESULT SetShapePcmReadPointer(
         SHAPE_PCM_CONTEXT *context,
         UINT32 readPointerInSamples
)  

Parameters

context
Type: SHAPE_PCM_CONTEXT *

[in, out] Pointer to a SHAPE_PCM_CONTEXT structure.

readPointerInSamples
Type: UINT32 

Read pointer, in samples. Two stereo 16 bit samples are treated as a single 32 bit sample by this pointer.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapepcmcontext.h.

Library: Use acphal.lib.