SetShapeXmaNumChannels
Sets the number of channels.Syntax
Parameters
context _Inout_Type: SHAPE_XMA_CONTEXT* Pointer to a SHAPE_XMA_CONTEXT object. numChannels
Type: UINT32 Number of channels; either 1 (mono) or 2 (stereo).
Return value
Type: HRESULT HRESULT success or error code.Remarks
This function sets the actual number of channels in the context. (In the SHAPE_XMA_CONTEXT object, thenumChannels member contains the values 0 [mono] or 1 [stereo].)
To get the current number of channels, use GetShapeXmaNumChannels.
For more information, see the XMA section of Overview of SHAPE.
