## MMPM/2 Device Driver Reference

[prev][next][parent][TOC]

### MCI_AUDIO_INIT Field - ulFlags

ulFlags (ULONG) A bit flag indicating several pieces of information. The defined values for ulFlags are:

FIXED (0x00000001l) Specify that the data is fixed, as opposed to variable rate or size.

LEFT_ALIGNED (0x00000002l) Specify that the data is left aligned on a byte boundary. This field is applicable only if lBitsPerSRate is not a multiple of 8.

RIGHT_ALIGNED (0x00000004l) Specify that the data is right aligned on a byte boundary. This bit is applicable only if lBitsPerSRate is not a multiple of 8.

TWOS_COMPLEMENT (0x00000008l) Specify that the data is represented by using TWOS_COMPLEMENT signed format. If this bit and the SIGNED bit are both 0, the data is in unsigned format.

SIGNED (0x00000010l) Specify that the data is represented using signed magnitude format, whereby the highest bit is set to 1 to indicate a negative value, and the lower bits specify the absolute value. If this bit and the TWOS_COMPLEMENT bit are both 0, the data is in unsigned format.

BIG_ENDIAN (0x00000020l) Specifies that the most significant bytes precede the least significant bytes. This bit is applicable only if lBitsPerSRate is greater than 8 (multibyte values).

RIFF_DATATYPE (0x00000040l) sMode contains a RIFF datatype.

PITCH (0x00100000l) Specifies that pitch control is supported.

INPUT (0x00200000l) Specifies that input select is supported.

OUTPUT (0x00400000l) Specifies that output select is supported.

MONITOR (0x00800000l) Specifies that monitor select is supported.

VOLUME (0x01000000l) Specifies that volume select is supported.

VOLUME_DELAY (0x02000000l) Specifies that volume delay is supported.

BALANCE (0x04000000l) Specifies that balance control is supported.

BALANCE_DELAY (0x08000000l) Specifies that balance delay is supported.

TREBLE (0x10000000l) Specifies that treble control is supported

BASS (0x20000000l) Specifies that bass control is supported.

BESTFIT_PROVIDED (0x40000000l) Indicates that the best fit is returned.

LOAD_CODE (0x80000000l) Indicates that a DSP load is needed.