ReactOS  0.4.14-dev-384-g5b37caa
dls1.h
Go to the documentation of this file.
1 
2 
3 #ifndef _INC_DLS1
4 #define _INC_DLS1
5 
6 #define CONN_SRC_NONE 0x0000
7 #define CONN_SRC_LFO 0x0001
8 #define CONN_SRC_KEYONVELOCITY 0x0002
9 #define CONN_SRC_KEYNUMBER 0x0003
10 #define CONN_SRC_EG1 0x0004
11 #define CONN_SRC_EG2 0x0005
12 #define CONN_SRC_PITCHWHEEL 0x0006
13 #define CONN_SRC_CC1 0x0081
14 #define CONN_SRC_CC7 0x0087
15 #define CONN_SRC_CC10 0x008a
16 #define CONN_SRC_CC11 0x008b
17 #define CONN_DST_NONE 0x0000
18 #define CONN_DST_ATTENUATION 0x0001
19 #define CONN_DST_PITCH 0x0003
20 #define CONN_DST_PAN 0x0004
21 #define CONN_DST_LFO_FREQUENCY 0x0104
22 #define CONN_DST_LFO_STARTDELAY 0x0105
23 #define CONN_DST_EG1_ATTACKTIME 0x0206
24 #define CONN_DST_EG1_DECAYTIME 0x0207
25 #define CONN_DST_EG1_RELEASETIME 0x0209
26 #define CONN_DST_EG1_SUSTAINLEVEL 0x020a
27 #define CONN_DST_EG2_ATTACKTIME 0x030a
28 #define CONN_DST_EG2_DECAYTIME 0x030b
29 #define CONN_DST_EG2_RELEASETIME 0x030d
30 #define CONN_DST_EG2_SUSTAINLEVEL 0x030e
31 #define CONN_TRN_NONE 0x0000
32 #define CONN_TRN_CONCAVE 0x0001
33 #define FOURCC_DLS mmioFOURCC('D','L','S',' ')
34 #define FOURCC_DLID mmioFOURCC('d','l','i','d')
35 #define FOURCC_COLH mmioFOURCC('c','o','l','h')
36 #define FOURCC_WVPL mmioFOURCC('w','v','p','l')
37 #define FOURCC_PTBL mmioFOURCC('p','t','b','l')
38 #define FOURCC_PATH mmioFOURCC('p','a','t','h')
39 #define FOURCC_wave mmioFOURCC('w','a','v','e')
40 #define FOURCC_LINS mmioFOURCC('l','i','n','s')
41 #define FOURCC_INS mmioFOURCC('i','n','s',' ')
42 #define FOURCC_INSH mmioFOURCC('i','n','s','h')
43 #define FOURCC_LRGN mmioFOURCC('l','r','g','n')
44 #define FOURCC_RGN mmioFOURCC('r','g','n',' ')
45 #define FOURCC_RGNH mmioFOURCC('r','g','n','h')
46 #define FOURCC_LART mmioFOURCC('l','a','r','t')
47 #define FOURCC_ART1 mmioFOURCC('a','r','t','1')
48 #define FOURCC_WLNK mmioFOURCC('w','l','n','k')
49 #define FOURCC_WSMP mmioFOURCC('w','s','m','p')
50 #define FOURCC_VERS mmioFOURCC('v','e','r','s')
51 #define F_INSTRUMENT_DRUMS 0x80000000
52 #define F_RGN_OPTION_SELFNONEXCLUSIVE 0x0001
53 #define WAVELINK_CHANNEL_LEFT 0x0001
54 #define WAVELINK_CHANNEL_RIGHT 0x0002
55 #define F_WAVELINK_PHASE_MASTER 0x0001
56 #define POOL_CUE_NULL 0xffffffff
57 #define F_WSMP_NO_TRUNCATION 0x0001l
58 #define F_WSMP_NO_COMPRESSION 0x0002l
59 #define WLOOP_TYPE_FORWARD 0
60 
61 typedef struct _CONNECTION
62 {
69 
70 typedef struct _CONNECTIONLIST
71 {
75 
76 typedef struct _DLSVERSION
77 {
81 
82 typedef struct _DLSHEADER
83 {
86 
87 typedef struct _DLSID
88 {
93 } DLSID, FAR *LPDLSID;
94 
95 typedef struct _MIDILOCALE {
99 
100 typedef struct _INSTHEADER
101 {
105 
106 typedef struct _POOLCUE
107 {
109 }POOLCUE, *LPPOOLCUE;
110 
111 typedef struct _POOLTABLE
112 {
116 
117 typedef struct _RGNRANGE
118 {
121 } RGNRANGE, *LPRGNRANGE;
122 
123 typedef struct _RGNHEADER
124 {
130 
131 typedef struct _rloop
132 {
137 } WLOOP, *LPWLOOP;
138 
139 typedef struct _rwsmp
140 {
147 } WSMPL, *LPWSMPL;
148 
149 typedef struct _WAVELINK
150 {
156 
157 
158 #endif
Definition: dls1.h:106
struct _CONNECTION CONNECTION
ULONG cInstruments
Definition: dls1.h:84
ULONG cbSize
Definition: dls1.h:113
USHORT usData2
Definition: dls1.h:90
USHORT usUnityNote
Definition: dls1.h:142
ULONG ulData1
Definition: dls1.h:89
ULONG cCues
Definition: dls1.h:114
ULONG ulType
Definition: dls1.h:134
Definition: dls1.h:87
struct _DLSID DLSID
RGNRANGE RangeKey
Definition: dls1.h:125
struct _POOLTABLE * LPPOOLTABLE
ULONG cConnections
Definition: dls1.h:73
USHORT usLow
Definition: dls1.h:119
struct _DLSID * LPDLSID
struct _DLSHEADER DLSHEADER
ULONG fulOptions
Definition: dls1.h:145
struct _MIDILOCALE * LPMIDILOCALE
struct _DLSVERSION DLSVERSION
LONG lAttenuation
Definition: dls1.h:144
Definition: dls1.h:131
long LONG
Definition: pedump.c:60
LONG lScale
Definition: dls1.h:67
short SHORT
Definition: pedump.c:59
RGNRANGE RangeVelocity
Definition: dls1.h:126
#define FAR
Definition: guiddef.h:36
struct _DLSVERSION * LPDLSVERSION
ULONG ulOffset
Definition: dls1.h:108
DWORD dwVersionLS
Definition: dls1.h:79
ULONG ulInstrument
Definition: dls1.h:97
ULONG cbSize
Definition: dls1.h:141
struct _RGNRANGE * LPRGNRANGE
struct _CONNECTIONLIST * LPCONNECTIONLIST
ULONG ulBank
Definition: dls1.h:96
struct _RGNRANGE RGNRANGE
USHORT usKeyGroup
Definition: dls1.h:128
struct _CONNECTIONLIST CONNECTIONLIST
struct _DLSHEADER * LPDLSHEADER
ULONG ulLength
Definition: dls1.h:136
struct _POOLCUE POOLCUE
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _INSTHEADER * LPINSTHEADER
Definition: dls1.h:139
struct _INSTHEADER INSTHEADER
USHORT usSource
Definition: dls1.h:63
MIDILOCALE Locale
Definition: dls1.h:103
struct _POOLTABLE POOLTABLE
struct _WAVELINK WAVELINK
struct _rloop WLOOP
unsigned char BYTE
Definition: mem.h:68
ULONG ulStart
Definition: dls1.h:135
struct _rwsmp WSMPL
USHORT fusOptions
Definition: dls1.h:127
struct _rwsmp * LPWSMPL
ULONG cbSize
Definition: dls1.h:72
DWORD dwVersionMS
Definition: dls1.h:78
BYTE abData4[8]
Definition: dls1.h:92
struct _rloop * LPWLOOP
USHORT usTransform
Definition: dls1.h:66
ULONG cSampleLoops
Definition: dls1.h:146
unsigned short USHORT
Definition: pedump.c:61
USHORT usDestination
Definition: dls1.h:65
struct _MIDILOCALE MIDILOCALE
USHORT usHigh
Definition: dls1.h:120
struct _RGNHEADER * LPRGNHEADER
struct _RGNHEADER RGNHEADER
unsigned int ULONG
Definition: retypes.h:1
struct _POOLCUE * LPPOOLCUE
SHORT sFineTune
Definition: dls1.h:143
USHORT usControl
Definition: dls1.h:64
struct _WAVELINK * LPWAVELINK
ULONG cRegions
Definition: dls1.h:102
ULONG cbSize
Definition: dls1.h:133
struct _CONNECTION * LPCONNECTION
USHORT usData3
Definition: dls1.h:91