IXACTCue::SetChannelMap

Sets the map used to route data from input channels to output channels.

HRESULT SetChannelMap(
  LPCXACTCHANNELMAP pChannelMap
);

Parameters

pChannelMap
[in] Pointer to an XACTCHANNELMAP structure containing the channel map data.

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

Calling this method will override any volume scaling set by IXACTCue::SetChannelVolume.

This effect processes all channel map entries in the order they are passed to IXACTCue::SetChannelMap.

Requirements

Header: Declared in Xact.h.

See Also

IXACTCue