Hardware Dev Center

APO_FLAG enumeration

The APO_FLAG enumeration defines constants that are used as flags by an audio processing object (APO).

This enumeration is used by the APO_REG_PROPERTIES structure to help describe the registration properties of an APO.

Syntax


typedef enum _APO_FLAG { 
  APO_FLAG_NONE                        = 0,
  APO_FLAG_INPLACE                     = 0x1,
  APO_FLAG_SAMPLESPERFRAME_MUST_MATCH  = 0x2,
  APO_FLAG_FRAMESPERSECOND_MUST_MATCH  = 0x4,
  APO_FLAG_BITSPERSAMPLE_MUST_MATCH    = 0x8,
  APO_FLAG_DEFAULT                     = (Description below)
} APO_FLAG;

Constants

APO_FLAG_NONE

Indicates that there are no flags enabled for this APO.

APO_FLAG_INPLACE

Indicates that this APO can perform in-place processing. This allows the processor to use a common buffer for input and output.

APO_FLAG_SAMPLESPERFRAME_MUST_MATCH

Indicates that the samples per frame for the input and output connections must match.

APO_FLAG_FRAMESPERSECOND_MUST_MATCH

Indicates that the frames per second for the input and output connections must match.

APO_FLAG_BITSPERSAMPLE_MUST_MATCH

Indicates that bits per sample AND bytes per sample container for the input and output connections must match.

APO_FLAG_DEFAULT

The value of this member is determined by the logical OR result of the three preceding members. In other words:

APO_FLAG_DEFAULT = ( APO_FLAG_SAMPLESPERFRAME_MUST_MATCH | APO_FLAG_FRAMESPERSECOND_MUST_MATCH | APO_FLAG_BITSPERSAMPLE_MUST_MATCH ).

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Audioenginebaseapo.h

See also

APO_REG_PROPERTIES

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft