SetShapePcmLoopStartOrWritePointer

Sets the loop start (for linear buffers) or write pointer (for circular buffers).

Syntax

HRESULT SetShapePcmLoopStartOrWritePointer(
         SHAPE_PCM_CONTEXT *context,
         UINT32 loopStartOrWritePointerInSamples
)  

Parameters

context
Type: SHAPE_PCM_CONTEXT *

[in, out] Pointer to a SHAPE_PCM_CONTEXT structure.

loopStartOrWritePointerInSamples
Type: UINT32 

The loop start, or write pointer.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapepcmcontext.h.

Library: Use acphal.lib.