SetShapeSrcCommand

Initializes a SHAPE SRC command.

Syntax

HRESULT SetShapeSrcCommand(
         SHAPE_FLOWGRAPH_COMMAND *command,
         UINT32 contextId,
         UINT32 leftorMonoMixBuffer,
         UINT32 rightMixBuffer
)  

Parameters

command
Type: SHAPE_FLOWGRAPH_COMMAND *

[in, out] The SHAPE_FLOWGRAPH_COMMAND command to initialize.

contextId
Type: UINT32 

SRC context ID (that is, the index) this command will reference.

leftorMonoMixBuffer
Type: UINT32 

Input mix buffer ID.

rightMixBuffer
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.