Share via


IXACTCue::SetChannelVolume

IXACTCue::SetChannelVolume

Sets the current volumes of a group of channel map entries, adjusting as necessary.

Windows:  SetChannelVolume is unsupported. Use IXACTCue::SetMatrixCoefficients.

Xbox 360:  SetChannelVolume is supported, but it is recommended that tiles use IXACTCue::SetMatrixCoefficients instead.

[Content-driven]

  HRESULT 
  SetChannelVolume(
  LPCXACTCHANNELVOLUME pVolume
);

Parameters

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

Call IXACTCue::SetChannelMap to set the channel map entries prior to calling SetChannelVolume.

Note    The channel volume entries passes to SetChannelVolume must be those passed to IXACTCue::SetChannelMap.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

IXACTCue