eAVEncMPACodingMode enumeration (codecapi.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Specifies the MPEG audio encoding mode. This enumeration is used with the AVEncMPACodingMode property.

Syntax

typedef enum eAVEncMPACodingMode {
  eAVEncMPACodingMode_Mono = 0,
  eAVEncMPACodingMode_Stereo = 1,
  eAVEncMPACodingMode_DualChannel = 2,
  eAVEncMPACodingMode_JointStereo = 3,
  eAVEncMPACodingMode_Surround = 4
} ;

Constants

 
eAVEncMPACodingMode_Mono
Value: 0
Single channel.
This mode corresponds to single_channel mode (bit code '11'), defined in ISO/IEC 11172-3.
eAVEncMPACodingMode_Stereo
Value: 1
Stereo channels.
This mode corresponds to stereo mode ('00'), defined in ISO/IEC 11172-3.
eAVEncMPACodingMode_DualChannel
Value: 2
Two mono channels.
This mode corresponds to dual_channel mode ('10'), defined in ISO/IEC 11172-3.
eAVEncMPACodingMode_JointStereo
Value: 3
Joint stereo mode. This mode uses similarities between the two channels to achieve greater compression. This mode corresponds to joint_stereo mode ('01'), defined in ISO/IEC 11172-3.
eAVEncMPACodingMode_Surround
Value: 4
Surround audio (5.1 channels).
This mode applies to MPEG-2 audio (ISO/IEC 13818-3).

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Header codecapi.h

See also

Codec API Enumerations

ICodecAPI Interface