GetStandardChannelMaskFromXmaMask

Converts between WAVEFORMATEXTENSIBLE channel masks (combinations of the SPEAKER_xxx flags) and XMA channel masks (which are limited to eight possible speaker positions: left, right, center, low frequency, side left, side right, back left and back right).

Syntax

DWORD GetStandardChannelMaskFromXmaMask(
         BYTE bXmaMask
)  

Parameters

bXmaMask
Type: BYTE 

Input byte mask.

Return value

Type: DWORD 

Standard mask.

Remarks

This is an inline function, refer to the xma2defs.h file for the source code.

Requirements

Header: Declared in xma2defs.h.

Library: Use xaudio2.lib and acphal.lib.