SetShapeAllocMixBufferCommand
Allocates a virtual mix buffer.Syntax
Parameters
command _Inout_Type: SHAPE_FLOWGRAPH_COMMAND* The SHAPE_FLOWGRAPH_COMMAND command to initialize. virtualId
Type: UINT32 Virtual ID of the mix buffer, from 0 to 8191, inclusive. Each allocated mix buffers must have a unique virtual ID. numIn
Type: UINT32 Number of inputs to the mix buffer. This value specifies the number of Scalable Hardware Audio Processing Engine (SHAPE) blocks that will output to this mix buffer. numOut
Type: UINT32 Number of outputs from the mix buffer. This value specifies the number of SHAPE blocks that will read from this mix buffer. attenuation
Type: SHAPE_MIXBUFFER_ATTENUATION One member of the SHAPE_MIXBUFFER_ATTENUATION enumeration. This value specifies the dB attenuation applied to all inputs to this mix buffer.
Return value
Type: HRESULT If the function succeeds, it returnsS_OK. If one or more arguments are invalid, the function returns E_INVALIDARG.
