xref: /reactos/sdk/include/dxsdk/dls2.h (revision c2c66aff)
1 #ifndef _INC_DLS2
2 #define _INC_DLS2
3 
4 DEFINE_GUID(DLSID_GMInHardware,       0x178F2F24, 0xC364, 0x11D1, 0xA7, 0x60, 0x00, 0x00, 0xF8, 0x75, 0xAC, 0x12);
5 DEFINE_GUID(DLSID_GSInHardware,       0x178F2F25, 0xC364, 0x11D1, 0xA7, 0x60, 0x00, 0x00, 0xF8, 0x75, 0xAC, 0x12);
6 DEFINE_GUID(DLSID_XGInHardware,       0x178F2F26, 0xC364, 0x11D1, 0xA7, 0x60, 0x00, 0x00, 0xF8, 0x75, 0xAC, 0x12);
7 DEFINE_GUID(DLSID_SupportsDLS1,       0x178F2F27, 0xC364, 0x11D1, 0xA7, 0x60, 0x00, 0x00, 0xF8, 0x75, 0xAC, 0x12);
8 DEFINE_GUID(DLSID_SupportsDLS2,       0xF14599E5, 0x4689, 0x11D2, 0xAF, 0xA6, 0x00, 0xAA, 0x00, 0x24, 0xd8, 0xB6);
9 DEFINE_GUID(DLSID_SampleMemorySize,   0x178F2F28, 0xC364, 0x11D1, 0xA7, 0x60, 0x00, 0x00, 0xF8, 0x75, 0xAC, 0x12);
10 DEFINE_GUID(DLSID_ManufacturersID,    0xB03E1181, 0x8095, 0x11D2, 0xA1, 0xEF, 0x00, 0x60, 0x08, 0x33, 0xDB, 0xD8);
11 DEFINE_GUID(DLSID_ProductID,          0xB03E1182, 0x8095, 0x11D2, 0xA1, 0xEF, 0x00, 0x60, 0x08, 0x33, 0xDB, 0xD8);
12 DEFINE_GUID(DLSID_SamplePlaybackRate, 0x2A91F713, 0xA4BF, 0x11D2, 0xBB, 0xDF, 0x00, 0x60, 0x08, 0x33, 0xDB, 0xD8);
13 
14 #define CONN_SRC_POLYPRESSURE       0x0007
15 #define CONN_SRC_CHANNELPRESSURE    0x0008
16 #define CONN_SRC_VIBRATO            0x0009
17 #define CONN_SRC_MONOPRESSURE       0x000A
18 #define CONN_SRC_CC91               0x00DB
19 #define CONN_SRC_CC93               0x00DD
20 
21 #define CONN_DST_GAIN               0x0001
22 #define CONN_DST_KEYNUMBER          0x0005
23 #define CONN_DST_LEFT               0x0010
24 #define CONN_DST_RIGHT              0x0011
25 #define CONN_DST_CENTER             0x0012
26 #define CONN_DST_LEFTREAR           0x0013
27 #define CONN_DST_RIGHTREAR          0x0014
28 #define CONN_DST_LFE_CHANNEL        0x0015
29 #define CONN_DST_CHORUS             0x0080
30 #define CONN_DST_REVERB             0x0081
31 #define CONN_DST_VIB_FREQUENCY      0x0114
32 #define CONN_DST_VIB_STARTDELAY     0x0115
33 #define CONN_DST_EG1_DELAYTIME      0x020B
34 #define CONN_DST_EG1_HOLDTIME       0x020C
35 #define CONN_DST_EG1_SHUTDOWNTIME   0x020D
36 #define CONN_DST_EG2_DELAYTIME      0x030F
37 #define CONN_DST_EG2_HOLDTIME       0x0310
38 #define CONN_DST_FILTER_CUTOFF      0x0500
39 #define CONN_DST_FILTER_Q           0x0501
40 
41 #define DLS_CDL_AND                 0x0001
42 #define DLS_CDL_OR                  0x0002
43 #define DLS_CDL_XOR                 0x0003
44 #define DLS_CDL_ADD                 0x0004
45 #define DLS_CDL_SUBTRACT            0x0005
46 #define DLS_CDL_MULTIPLY            0x0006
47 #define DLS_CDL_DIVIDE              0x0007
48 #define DLS_CDL_LOGICAL_AND         0x0008
49 #define DLS_CDL_LOGICAL_OR          0x0009
50 #define DLS_CDL_LT                  0x000A
51 #define DLS_CDL_LE                  0x000B
52 #define DLS_CDL_GT                  0x000C
53 #define DLS_CDL_GE                  0x000D
54 #define DLS_CDL_EQ                  0x000E
55 #define DLS_CDL_NOT                 0x000F
56 #define DLS_CDL_CONST               0x0010
57 #define DLS_CDL_QUERY               0x0011
58 #define DLS_CDL_QUERYSUPPORTED      0x0012
59 
60 #define CONN_TRN_CONVEX             0x0002
61 #define CONN_TRN_SWITCH             0x0003
62 
63 #define FOURCC_RGN2                 mmioFOURCC('r','g','n','2')
64 #define FOURCC_LAR2                 mmioFOURCC('l','a','r','2')
65 #define FOURCC_ART2                 mmioFOURCC('a','r','t','2')
66 #define FOURCC_CDL                  mmioFOURCC('c','d','l',' ')
67 #define FOURCC_DLID                 mmioFOURCC('d','l','i','d')
68 
69 #define F_WAVELINK_MULTICHANNEL     0x0002
70 #define WLOOP_TYPE_RELEASE          1
71 
72 #endif
73 
74