SetShapeFiltVolCommand

Initializes a SHAPE FLTVOL command.

Syntax

HRESULT SetShapeFiltVolCommand(
         SHAPE_FLOWGRAPH_COMMAND *command,
         UINT32 contextId,
         UINT32 inputMixBuffer,
         UINT32 outputMixBuffer
)  

Parameters

command
Type: SHAPE_FLOWGRAPH_COMMAND *

[in, out] The SHAPE_FLOWGRAPH_COMMAND command to initialize.

contextId
Type: UINT32 

Filt/Vol context ID (that is, the index) this command will reference.

inputMixBuffer
Type: UINT32 

Input mix buffer ID.

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.