XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS structure

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 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Header

Xapo.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft