Share via


IXACTCue::SetMatrixCoefficients

IXACTCue::SetMatrixCoefficients

Sets the volume matrix coefficient table for the cue.

[Content-driven]

  HRESULT 
  SetMatrixCoefficients(
  UINT32 uSrcChannelCount,
  UINT32 uDstChannelCount,
  float *pMatrixCoefficients
);

Parameters

  • uSrcChannelCount
    [in] Number of source channels. This must equal the number of emitter channels.
  • uDstChannelCount
    [in] Number of destination channels. This must equal the number of final mix channels.
  • pMatrixCoefficients
    [in] Matrix coefficient table. This is an array that represents the volume level of each source channel present in each destination channel. The source channels are the column index and the destination channels are the row index of the table. The table must have at least uSrcChannelCount * uDstChannelCount elements.

Return Values

Returns S_OK if successful, an error code otherwise.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

IXACTCue