IXAPOParameters::SetParameters method (xapo.h)

Sets effect-specific parameters.

Syntax

void SetParameters(
  const void *pParameters,
  UINT32     ParameterByteSize
);

Parameters

pParameters

Effect-specific parameter block.

ParameterByteSize

Size of pParameters, in bytes.

Return value

None

Remarks

The data in pParameters is completely effect-specific and determined by the implementation of the IXAPOParameters::SetParameters function. The data passed to SetParameters can be used to set the state of the XAPO and control the behavior of the IXAPO::Process function.

SetParameters can only be called on the real-time audio processing thread; no synchronization between SetParameters and the IXAPO::Process method is necessary. However, the IXAudio2Voice::SetEffectParameters method may be called from any thread as it adds in the required synchronization to deliver a copy (asynchronously) of the parameters to SetParameters on the real-time thread; no synchronization between IXAudio2Voice::SetEffectParameters and the IXAPO::Process method is necessary.

Platform Requirements

Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Requirement Value
Target Platform Windows
Header xapo.h

See also

IXAPOParameters

IXAudio2Voice::SetEffectParameters