SetShapeEqCompCommand

Initializes a SHAPE EQ/Comp command.

Syntax

HRESULT SetShapeEqCompCommand(
         SHAPE_FLOWGRAPH_COMMAND *command,
         UINT32 contextId,
         UINT32 inputMixBuffer,
         UINT32 sidechainMixBuffer,
         UINT32 outputMixBuffer
)  

Parameters

command
Type: SHAPE_FLOWGRAPH_COMMAND *

[in, out] The SHAPE_FLOWGRAPH_COMMAND command to initialize.

contextId
Type: UINT32 

EQ/Comp context ID (that is, the index) this command will reference.

inputMixBuffer
Type: UINT32 

Input mix buffer ID.

sidechainMixBuffer
Type: UINT32 

Sidechain mix buffer. This parameter is only used for external sidechains. For Normal and Internal sidechains, this parameter is ignored. See SHAPE_EQCOMP_SIDECHAIN_MODE.

outputMixBuffer
Type: UINT32 

Output mix buffer ID.

Return value

Type: HRESULT 

HRESULT success (S_OK) or failure (E_INVALIDARG) code.

Requirements

Header: Declared in shapeflowgraph.h.

Library: Use acphal.lib.