SetShapeXmaNumChannels

Sets the number of channels.

Syntax

HRESULT SetShapeXmaNumChannels(
         SHAPE_XMA_CONTEXT *context,
         UINT32 numChannels
)  

Parameters

context
Type: SHAPE_XMA_CONTEXT *

[in, out] Pointer to a SHAPE_XMA_CONTEXT structure.

numChannels
Type: UINT32 

the number of channels. 0 specifies mono, 1 specifies stereo.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in shapexmacontext.h.

Library: Use acphal.lib.