ReactOS  0.4.14-dev-114-gc8cbd56
dmdls.h
Go to the documentation of this file.
1 #ifndef _DMDLS_
2 #define _DMDLS_
3 
4 #include "dls1.h"
5 
6 #define DMUS_DOWNLOADINFO_INSTRUMENT 1
7 #define DMUS_DOWNLOADINFO_WAVE 2
8 #define DMUS_DOWNLOADINFO_INSTRUMENT2 3
9 #define DMUS_DOWNLOADINFO_WAVEARTICULATION 4
10 #define DMUS_DOWNLOADINFO_STREAMINGWAVE 5
11 #define DMUS_DOWNLOADINFO_ONESHOTWAVE 6
12 #define DMUS_DEFAULT_SIZE_OFFSETTABLE 1
13 #define DMUS_INSTRUMENT_GM_INSTRUMENT (1 << 0)
14 #define DMUS_MIN_DATA_SIZE 4
15 
16 typedef long PCENT;
17 typedef long GCENT;
18 typedef long TCENT;
19 typedef long PERCENT;
22 
23 #ifndef MAKEFOURCC
24  #define MAKEFOURCC(ch0, ch1, ch2, ch3) ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
25  typedef DWORD FOURCC;
26 #endif
27 
28 
29 typedef struct _DMUS_LFOPARAMS
30 {
38 
39 typedef struct _DMUS_VEGPARAMS
40 {
48 
49 typedef struct _DMUS_PEGPARAMS
50 {
59 
60 typedef struct _DMUS_MSCPARAMS
61 {
64 
65 typedef struct _DMUS_DOWNLOADINFO
66 {
72 
73 typedef struct _DMUS_OFFSETTABLE
74 {
77 
78 typedef struct _DMUS_INSTRUMENT
79 {
87 
88 typedef struct _DMUS_REGION
89 {
100 } DMUS_REGION;
101 
102 typedef struct _DMUS_NOTERANGE
103 {
107 
108 typedef struct _DMUS_COPYRIGHT
109 {
113 
114 
115 typedef struct _DMUS_EXTENSIONCHUNK
116 {
122 
123 
124 typedef struct _DMUS_WAVE
125 {
130 } DMUS_WAVE;
131 
132 typedef struct _DMUS_WAVEDATA
133 {
136 } DMUS_WAVEDATA;
137 
138 typedef struct _DMUS_ARTICULATION
139 {
143 
144 typedef struct _DMUS_ARTICULATION2
145 {
150 
151 typedef struct _DMUS_WAVEDL
152 {
155 
156 typedef struct _DMUS_ARTICPARAMS
157 {
163 
164 typedef struct _DMUS_WAVEARTDL
165 {
172 
173 
174 #endif
175 
ULONG ulWaveDataIdx
Definition: dmdls.h:128
TCENT tcVel2Attack
Definition: dmdls.h:55
PERCENT ptSustain
Definition: dmdls.h:43
struct _DMUS_ARTICPARAMS DMUS_ARTICPARAMS
ULONG ulBus
Definition: dmdls.h:167
ULONG ulGlobalArtIdx
Definition: dmdls.h:82
WSMPL WSMP
Definition: dmdls.h:98
GCENT gcMWToVolume
Definition: dmdls.h:35
ULONG ulFirstRegionIdx
Definition: dmdls.h:81
DWORD dwDLId
Definition: dmdls.h:68
#define DMUS_MIN_DATA_SIZE
Definition: dmdls.h:14
struct _DMUS_NOTERANGE DMUS_NOTERANGE
struct _DMUS_OFFSETTABLE DMUS_OFFSETTABLE
ULONG ulBuffers
Definition: dmdls.h:168
ULONG ulPatch
Definition: dmdls.h:80
ULONG ulCopyrightIdx
Definition: dmdls.h:84
TCENT tcVel2Attack
Definition: dmdls.h:45
struct _DMUS_WAVEARTDL DMUS_WAVEARTDL
TCENT tcDecay
Definition: dmdls.h:52
TCENT tcAttack
Definition: dmdls.h:51
RGNRANGE RangeKey
Definition: dmdls.h:90
struct _DMUS_WAVE DMUS_WAVE
long GCENT
Definition: dmdls.h:17
DMUS_LFOPARAMS LFO
Definition: dmdls.h:158
struct _DMUS_DOWNLOADINFO DMUS_DOWNLOADINFO
struct _DMUS_WAVEDATA DMUS_WAVEDATA
struct _DMUS_WAVEDL DMUS_WAVEDL
ULONG ulRegionArtIdx
Definition: dmdls.h:94
DWORD dwDLType
Definition: dmdls.h:67
ULONG ulFirstExtCkIdx
Definition: dmdls.h:96
ULONG cbSize
Definition: dmdls.h:134
DMUS_VEGPARAMS VolEG
Definition: dmdls.h:159
PCENT pcFrequency
Definition: dmdls.h:31
#define DMUS_DEFAULT_SIZE_OFFSETTABLE
Definition: dmdls.h:12
DMUS_PEGPARAMS PitchEG
Definition: dmdls.h:160
struct _DMUS_LFOPARAMS DMUS_LFOPARAMS
BYTE byData[DMUS_MIN_DATA_SIZE]
Definition: dmdls.h:135
Definition: dls1.h:131
USHORT usOptions
Definition: dmdls.h:170
PERCENT ptDefaultPan
Definition: dmdls.h:62
ULONG ulNextRegionIdx
Definition: dmdls.h:95
ULONG ulCopyrightIdx
Definition: dmdls.h:127
struct _DMUS_ARTICULATION2 DMUS_ARTICULATION2
struct _DMUS_INSTRUMENT DMUS_INSTRUMENT
DWORD dwLowNote
Definition: dmdls.h:104
PERCENT ptSustain
Definition: dmdls.h:53
struct _DMUS_WAVEARTDL * LPDMUS_WAVEARTDL
struct _DMUS_WAVEDL * LPDMUS_WAVEDL
TCENT tcAttack
Definition: dmdls.h:41
TCENT tcKey2Decay
Definition: dmdls.h:56
ULONG ulMasterDLId
Definition: dmdls.h:169
USHORT fusOptions
Definition: dmdls.h:92
int64_t LONGLONG
Definition: typedefs.h:66
USHORT usKeyGroup
Definition: dmdls.h:93
RGNRANGE RangeVelocity
Definition: dmdls.h:91
struct _DMUS_EXTENSIONCHUNK DMUS_EXTENSIONCHUNK
ULONG ulNextExtCkIdx
Definition: dmdls.h:118
DWORD cbSize
Definition: dmdls.h:70
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
long PERCENT
Definition: dmdls.h:19
LONGLONG REFERENCE_TIME
Definition: dmdls.h:20
struct _DMUS_COPYRIGHT DMUS_COPYRIGHT
ULONG ulFlags
Definition: dmdls.h:85
struct _DMUS_REGION DMUS_REGION
struct _DMUS_PEGPARAMS DMUS_PEGPARAMS
unsigned long DWORD
Definition: ntddk_ex.h:95
Definition: dls1.h:139
struct _DMUS_NOTERANGE * LPDMUS_NOTERANGE
ULONG cbWaveData
Definition: dmdls.h:153
ULONG ulFirstExtCkIdx
Definition: dmdls.h:141
struct _DMUS_VEGPARAMS DMUS_VEGPARAMS
ULONG ulArt1Idx
Definition: dmdls.h:140
long TCENT
Definition: dmdls.h:18
TCENT tcRelease
Definition: dmdls.h:44
unsigned char BYTE
Definition: mem.h:68
ULONG ulDownloadIdIdx
Definition: dmdls.h:166
struct _DMUS_ARTICULATION DMUS_ARTICULATION
GCENT gcVolumeScale
Definition: dmdls.h:33
TCENT tcDelay
Definition: dmdls.h:32
long PCENT
Definition: dmdls.h:16
ULONG ulFirstExtCkIdx
Definition: dmdls.h:83
TCENT tcKey2Decay
Definition: dmdls.h:46
DWORD FOURCC
Definition: dmdls.h:25
DWORD dwNumOffsetTableEntries
Definition: dmdls.h:69
TCENT tcDecay
Definition: dmdls.h:42
unsigned short USHORT
Definition: pedump.c:61
REFERENCE_TIME * LPREFERENCE_TIME
Definition: dmdls.h:21
WAVELINK WaveLink
Definition: dmdls.h:97
ULONG ulFirstExtCkIdx
Definition: dmdls.h:126
PCENT pcMWToPitch
Definition: dmdls.h:36
TCENT tcRelease
Definition: dmdls.h:54
ULONG ulOffsetTable[DMUS_DEFAULT_SIZE_OFFSETTABLE]
Definition: dmdls.h:75
struct _DMUS_MSCPARAMS DMUS_MSCPARAMS
PCENT pcRange
Definition: dmdls.h:57
BYTE byExtCk[DMUS_MIN_DATA_SIZE]
Definition: dmdls.h:120
unsigned int ULONG
Definition: retypes.h:1
WAVEFORMATEX WaveformatEx
Definition: dmdls.h:129
ULONG ulFirstExtCkIdx
Definition: dmdls.h:147
PCENT pcPitchScale
Definition: dmdls.h:34
ULONG ulNextArtIdx
Definition: dmdls.h:148
DWORD dwHighNote
Definition: dmdls.h:105
DMUS_MSCPARAMS Misc
Definition: dmdls.h:161