XAPO_LOCKFORPROCESS_PARAMETERS structure (xapo.h)

Defines stream buffer parameters that remain constant while an XAPO is locked. Used with the IXAPO::LockForProcess method.

Syntax

typedef struct XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS {
  const WAVEFORMATEX *pFormat;
  UINT32             MaxFrameCount;
} XAPO_LOCKFORPROCESS_PARAMETERS;

Members

pFormat

A WAVFORMATEX describing the format for the stream buffer.

MaxFrameCount

Maximum number of frames in the stream buffer that IXAPO::Process would ever be required to handle, irrespective of dynamic parameter settings.

Remarks

The byte size of the respective stream buffer must be at least MaxFrameCount × (pFormat->nBlockAlign) bytes.

Platform Requirements

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

Requirements

Requirement Value
Header xapo.h

See also

Structures