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