Added speaker config macros.

This commit is contained in:
Robert Reif 2003-08-28 19:38:29 +00:00 committed by Alexandre Julliard
parent 9382aed1a9
commit 76a5e0a29c
1 changed files with 4 additions and 0 deletions

View File

@ -253,6 +253,10 @@ typedef const DSBPOSITIONNOTIFY *LPCDSBPOSITIONNOTIFY;
#define DSSPEAKER_GEOMETRY_WIDE 0x00000014 /* 20 degrees */
#define DSSPEAKER_GEOMETRY_MAX 0x000000B4 /* 180 degrees */
#define DSSPEAKER_COMBINED(c, g) ((DWORD)(((BYTE)(c)) | ((DWORD)((BYTE)(g))) << 16))
#define DSSPEAKER_CONFIG(a) ((BYTE)(a))
#define DSSPEAKER_GEOMETRY(a) ((BYTE)(((DWORD)(a) >> 16) & 0x00FF))
#define DS_CERTIFIED 0x00000000
#define DS_UNCERTIFIED 0x00000001