ReactOS 0.4.16-dev-122-g325d74c
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
61typedef struct _CONNECTION
62{
69
70typedef struct _CONNECTIONLIST
71{
75
76typedef struct _DLSVERSION
77{
81
82typedef struct _DLSHEADER
83{
86
87typedef struct _DLSID
88{
94
95typedef struct _MIDILOCALE {
99
100typedef struct _INSTHEADER
101{
105
106typedef struct _POOLCUE
107{
110
111typedef struct _POOLTABLE
112{
116
117typedef struct _RGNRANGE
118{
122
123typedef struct _RGNHEADER
124{
130
131typedef struct _rloop
132{
138
139typedef struct _rwsmp
140{
148
149typedef struct _WAVELINK
150{
156
157
158#endif
#define FAR
Definition: zlib.h:34
struct _POOLTABLE * LPPOOLTABLE
struct _POOLCUE POOLCUE
struct _DLSVERSION * LPDLSVERSION
struct _POOLCUE * LPPOOLCUE
struct _CONNECTION * LPCONNECTION
struct _WAVELINK WAVELINK
struct _rwsmp * LPWSMPL
struct _WAVELINK * LPWAVELINK
struct _INSTHEADER * LPINSTHEADER
struct _INSTHEADER INSTHEADER
struct _CONNECTION CONNECTION
struct _rwsmp WSMPL
struct _DLSID * LPDLSID
struct _MIDILOCALE MIDILOCALE
struct _POOLTABLE POOLTABLE
struct _DLSHEADER DLSHEADER
struct _RGNRANGE RGNRANGE
struct _DLSHEADER * LPDLSHEADER
struct _CONNECTIONLIST * LPCONNECTIONLIST
struct _CONNECTIONLIST CONNECTIONLIST
struct _DLSVERSION DLSVERSION
struct _DLSID DLSID
struct _RGNRANGE * LPRGNRANGE
struct _rloop * LPWLOOP
struct _rloop WLOOP
struct _RGNHEADER RGNHEADER
struct _RGNHEADER * LPRGNHEADER
struct _MIDILOCALE * LPMIDILOCALE
unsigned long DWORD
Definition: ntddk_ex.h:95
short SHORT
Definition: pedump.c:59
long LONG
Definition: pedump.c:60
unsigned short USHORT
Definition: pedump.c:61
ULONG cConnections
Definition: dls1.h:73
ULONG cbSize
Definition: dls1.h:72
LONG lScale
Definition: dls1.h:67
USHORT usControl
Definition: dls1.h:64
USHORT usSource
Definition: dls1.h:63
USHORT usDestination
Definition: dls1.h:65
USHORT usTransform
Definition: dls1.h:66
ULONG cInstruments
Definition: dls1.h:84
Definition: dls1.h:88
ULONG ulData1
Definition: dls1.h:89
USHORT usData2
Definition: dls1.h:90
BYTE abData4[8]
Definition: dls1.h:92
USHORT usData3
Definition: dls1.h:91
DWORD dwVersionMS
Definition: dls1.h:78
DWORD dwVersionLS
Definition: dls1.h:79
MIDILOCALE Locale
Definition: dls1.h:103
ULONG cRegions
Definition: dls1.h:102
ULONG ulInstrument
Definition: dls1.h:97
ULONG ulBank
Definition: dls1.h:96
Definition: dls1.h:107
ULONG ulOffset
Definition: dls1.h:108
ULONG cbSize
Definition: dls1.h:113
ULONG cCues
Definition: dls1.h:114
USHORT usKeyGroup
Definition: dls1.h:128
RGNRANGE RangeVelocity
Definition: dls1.h:126
USHORT fusOptions
Definition: dls1.h:127
RGNRANGE RangeKey
Definition: dls1.h:125
USHORT usHigh
Definition: dls1.h:120
USHORT usLow
Definition: dls1.h:119
Definition: dls1.h:132
ULONG cbSize
Definition: dls1.h:133
ULONG ulLength
Definition: dls1.h:136
ULONG ulType
Definition: dls1.h:134
ULONG ulStart
Definition: dls1.h:135
Definition: dls1.h:140
LONG lAttenuation
Definition: dls1.h:144
SHORT sFineTune
Definition: dls1.h:143
ULONG fulOptions
Definition: dls1.h:145
ULONG cSampleLoops
Definition: dls1.h:146
ULONG cbSize
Definition: dls1.h:141
USHORT usUnityNote
Definition: dls1.h:142
uint32_t ULONG
Definition: typedefs.h:59
unsigned char BYTE
Definition: xxhash.c:193