SetShapePcmFormat

Sets the PCM format.

Syntax

HRESULT SetShapePcmFormat(
         SHAPE_PCM_CONTEXT *context,
         SHAPE_PCM_FORMAT format
)  

Parameters

context
Type: SHAPE_PCM_CONTEXT *

[in, out] Pointer to a SHAPE_PCM_CONTEXT structure.

format
Type: SHAPE_PCM_FORMAT 

One member of the SHAPE_PCM_FORMAT enumeration.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapepcmcontext.h.

Library: Use acphal.lib.