Hardware Dev Center

IAudioProcessingObjectRT::APOProcess method

The APOProcess method causes the APO to make a processing pass.

Syntax


void APOProcess(
  [in]      UINT32                  u32NumInputConnections,
  [in]      APO_CONNECTION_PROPERTY **ppInputConnections,
  [in]      UINT32                  u32NumOutputConnections,
  [in, out] APO_CONNECTION_PROPERTY **ppOutputConnections
);

Parameters

u32NumInputConnections [in]

The number of input connections that are attached to this APO.

ppInputConnections [in]

An array of input connection property structures. There is one structure per input connection.

u32NumOutputConnections [in]

The number of output connections that are attached to this APO.

ppOutputConnections [in, out]

An array of output connection property structures. There is one structure per output connection.

Return value

None

Return codeDescription

 

Remarks

The APOProcess method must not change the data in the ppOutputConnections array. But it must set the properties of the output connections after processing.

The APOProcess method is called from a real-time processing thread. The implementation of this method must not touch paged memory and it should not call any system blocking routines.

For a detailed look at an implementation of this method, see the Swap sample code and refer to the Swapapolfx.cpp file.

Requirements

Target platform

Universal

Version

Available with Windows Vista and later versions of the Windows operating system.

Header

Audioenginebaseapo.h

Library

Audioenginebaseapo.idl

IRQL

All levels

See also

Swap sample code

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft