ReactOS 0.4.15-dev-8109-gd7be748
dmusicf.h
Go to the documentation of this file.
1/*
2 * DirectMusic File Formats
3 *
4 * Copyright (C) 2003-2004 Rok Mandeljc
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#ifndef __WINE_DMUSIC_FILEFORMATS_H
22#define __WINE_DMUSIC_FILEFORMATS_H
23
24#ifndef __WINESRC__
25#include <windows.h>
26#endif /* __WINESRC__ */
27
28#define COM_NO_WINDOWS_H
29#include <objbase.h>
30#include <mmsystem.h>
31#include <pshpack8.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37
38/*****************************************************************************
39 * FOURCC Definitions
40 */
41/* Common chunks */
42#define DMUS_FOURCC_GUID_CHUNK mmioFOURCC('g','u','i','d')
43#define DMUS_FOURCC_INFO_LIST mmioFOURCC('I','N','F','O')
44#define DMUS_FOURCC_UNFO_LIST mmioFOURCC('U','N','F','O')
45#define DMUS_FOURCC_UNAM_CHUNK mmioFOURCC('U','N','A','M')
46#define DMUS_FOURCC_UART_CHUNK mmioFOURCC('U','A','R','T')
47#define DMUS_FOURCC_UCOP_CHUNK mmioFOURCC('U','C','O','P')
48#define DMUS_FOURCC_USBJ_CHUNK mmioFOURCC('U','S','B','J')
49#define DMUS_FOURCC_UCMT_CHUNK mmioFOURCC('U','C','M','T')
50#define DMUS_FOURCC_CATEGORY_CHUNK mmioFOURCC('c','a','t','g')
51#define DMUS_FOURCC_VERSION_CHUNK mmioFOURCC('v','e','r','s')
52/* AudioPath */
53#define DMUS_FOURCC_AUDIOPATH_FORM mmioFOURCC('D','M','A','P')
54#define DMUS_FOURCC_PORTCONFIGS_LIST mmioFOURCC('p','c','s','l')
55#define DMUS_FOURCC_PORTCONFIG_LIST mmioFOURCC('p','c','f','l')
56#define DMUS_FOURCC_PORTCONFIG_ITEM mmioFOURCC('p','c','f','h')
57#define DMUS_FOURCC_PORTPARAMS_ITEM mmioFOURCC('p','p','r','h')
58#define DMUS_FOURCC_DSBUFFER_LIST mmioFOURCC('d','b','f','l')
59#define DMUS_FOURCC_DSBUFFATTR_ITEM mmioFOURCC('d','d','a','h')
60#define DMUS_FOURCC_PCHANNELS_LIST mmioFOURCC('p','c','h','l')
61#define DMUS_FOURCC_PCHANNELS_ITEM mmioFOURCC('p','c','h','h')
62/* Band */
63#define DMUS_FOURCC_BAND_FORM mmioFOURCC('D','M','B','D')
64#define DMUS_FOURCC_INSTRUMENTS_LIST mmioFOURCC('l','b','i','l')
65#define DMUS_FOURCC_INSTRUMENT_LIST mmioFOURCC('l','b','i','n')
66#define DMUS_FOURCC_INSTRUMENT_CHUNK mmioFOURCC('b','i','n','s')
67/* Chordmap */
68#define DMUS_FOURCC_CHORDMAP_FORM mmioFOURCC('D','M','P','R')
69#define DMUS_FOURCC_IOCHORDMAP_CHUNK mmioFOURCC('p','e','r','h')
70#define DMUS_FOURCC_SUBCHORD_CHUNK mmioFOURCC('c','h','d','t')
71#define DMUS_FOURCC_CHORDENTRY_CHUNK mmioFOURCC('c','h','e','h')
72#define DMUS_FOURCC_SUBCHORDID_CHUNK mmioFOURCC('s','b','c','n')
73#define DMUS_FOURCC_IONEXTCHORD_CHUNK mmioFOURCC('n','c','r','d')
74#define DMUS_FOURCC_NEXTCHORDSEQ_CHUNK mmioFOURCC('n','c','s','q')
75#define DMUS_FOURCC_IOSIGNPOST_CHUNK mmioFOURCC('s','p','s','h')
76#define DMUS_FOURCC_CHORDNAME_CHUNK mmioFOURCC('I','N','A','M')
77#define DMUS_FOURCC_CHORDENTRY_LIST mmioFOURCC('c','h','o','e')
78#define DMUS_FOURCC_CHORDMAP_LIST mmioFOURCC('c','m','a','p')
79#define DMUS_FOURCC_CHORD_LIST mmioFOURCC('c','h','r','d')
80#define DMUS_FOURCC_CHORDPALETTE_LIST mmioFOURCC('c','h','p','l')
81#define DMUS_FOURCC_CADENCE_LIST mmioFOURCC('c','a','d','e')
82#define DMUS_FOURCC_SIGNPOSTITEM_LIST mmioFOURCC('s','p','s','t')
83#define DMUS_FOURCC_SIGNPOST_LIST mmioFOURCC('s','p','s','q')
84/* Container */
85#define DMUS_FOURCC_CONTAINER_FORM mmioFOURCC('D','M','C','N')
86#define DMUS_FOURCC_CONTAINER_CHUNK mmioFOURCC('c','o','n','h')
87#define DMUS_FOURCC_CONTAINED_ALIAS_CHUNK mmioFOURCC('c','o','b','a')
88#define DMUS_FOURCC_CONTAINED_OBJECT_CHUNK mmioFOURCC('c','o','b','h')
89#define DMUS_FOURCC_CONTAINED_OBJECTS_LIST mmioFOURCC('c','o','s','l')
90#define DMUS_FOURCC_CONTAINED_OBJECT_LIST mmioFOURCC('c','o','b','l')
91/* DirectSound Buffer Configuration */
92#define DMUS_FOURCC_DSBC_FORM mmioFOURCC('D','S','B','C')
93#define DMUS_FOURCC_DSBD_CHUNK mmioFOURCC('d','s','b','d')
94#define DMUS_FOURCC_BSID_CHUNK mmioFOURCC('b','s','i','d')
95#define DMUS_FOURCC_DS3D_CHUNK mmioFOURCC('d','s','3','d')
96#define DMUS_FOURCC_DSBC_LIST mmioFOURCC('f','x','l','s')
97/* Effects */
98#define DMUS_FOURCC_DSFX_FORM mmioFOURCC('D','S','F','X')
99#define DMUS_FOURCC_DSFX_CHUNK mmioFOURCC('f','x','h','r')
100#define DMUS_FOURCC_DSFX_DATA mmioFOURCC('d','a','t','a')
101/* Reference */
102#define DMUS_FOURCC_REF_LIST mmioFOURCC('D','M','R','F')
103#define DMUS_FOURCC_REF_CHUNK mmioFOURCC('r','e','f','h')
104#define DMUS_FOURCC_DATE_CHUNK mmioFOURCC('d','a','t','e')
105#define DMUS_FOURCC_NAME_CHUNK mmioFOURCC('n','a','m','e')
106#define DMUS_FOURCC_FILE_CHUNK mmioFOURCC('f','i','l','e')
107/* Script */
108#define DMUS_FOURCC_SCRIPT_FORM mmioFOURCC('D','M','S','C')
109#define DMUS_FOURCC_SCRIPT_CHUNK mmioFOURCC('s','c','h','d')
110#define DMUS_FOURCC_SCRIPTVERSION_CHUNK mmioFOURCC('s','c','v','e')
111#define DMUS_FOURCC_SCRIPTLANGUAGE_CHUNK mmioFOURCC('s','c','l','a')
112#define DMUS_FOURCC_SCRIPTSOURCE_CHUNK mmioFOURCC('s','c','s','r')
113/* Segment */
114#define DMUS_FOURCC_SEGMENT_FORM mmioFOURCC('D','M','S','G')
115#define DMUS_FOURCC_SEGMENT_CHUNK mmioFOURCC('s','e','g','h')
116#define DMUS_FOURCC_TRACK_LIST mmioFOURCC('t','r','k','l')
117/* Style chunks */
118#define DMUS_FOURCC_STYLE_FORM mmioFOURCC('D','M','S','T')
119#define DMUS_FOURCC_STYLE_CHUNK mmioFOURCC('s','t','y','h')
120#define DMUS_FOURCC_PART_LIST mmioFOURCC('p','a','r','t')
121#define DMUS_FOURCC_PART_CHUNK mmioFOURCC('p','r','t','h')
122#define DMUS_FOURCC_NOTE_CHUNK mmioFOURCC('n','o','t','e')
123#define DMUS_FOURCC_CURVE_CHUNK mmioFOURCC('c','r','v','e')
124#define DMUS_FOURCC_MARKER_CHUNK mmioFOURCC('m','r','k','r')
125#define DMUS_FOURCC_RESOLUTION_CHUNK mmioFOURCC('r','s','l','n')
126#define DMUS_FOURCC_ANTICIPATION_CHUNK mmioFOURCC('a','n','p','n')
127#define DMUS_FOURCC_PATTERN_LIST mmioFOURCC('p','t','t','n')
128#define DMUS_FOURCC_PATTERN_CHUNK mmioFOURCC('p','t','n','h')
129#define DMUS_FOURCC_RHYTHM_CHUNK mmioFOURCC('r','h','t','m')
130#define DMUS_FOURCC_PARTREF_LIST mmioFOURCC('p','r','e','f')
131#define DMUS_FOURCC_PARTREF_CHUNK mmioFOURCC('p','r','f','c')
132#define DMUS_FOURCC_STYLE_PERS_REF_LIST mmioFOURCC('p','r','r','f')
133#define DMUS_FOURCC_MOTIFSETTINGS_CHUNK mmioFOURCC('m','t','f','s')
134/* Tool */
135#define DMUS_FOURCC_TOOL_FORM mmioFOURCC('D','M','T','L')
136#define DMUS_FOURCC_TOOL_CHUNK mmioFOURCC('t','o','l','h')
137/* ToolGraph */
138#define DMUS_FOURCC_TOOLGRAPH_FORM mmioFOURCC('D','M','T','G')
139#define DMUS_FOURCC_TOOL_LIST mmioFOURCC('t','o','l','l')
140/* Track */
141#define DMUS_FOURCC_TRACK_FORM mmioFOURCC('D','M','T','K')
142#define DMUS_FOURCC_TRACK_CHUNK mmioFOURCC('t','r','k','h')
143#define DMUS_FOURCC_TRACK_EXTRAS_CHUNK mmioFOURCC('t','r','k','x')
144/* Band Track */
145#define DMUS_FOURCC_BANDTRACK_FORM mmioFOURCC('D','M','B','T')
146#define DMUS_FOURCC_BANDTRACK_CHUNK mmioFOURCC('b','d','t','h')
147#define DMUS_FOURCC_BANDS_LIST mmioFOURCC('l','b','d','l')
148#define DMUS_FOURCC_BAND_LIST mmioFOURCC('l','b','n','d')
149#define DMUS_FOURCC_BANDITEM_CHUNK mmioFOURCC('b','d','i','h')
150#define DMUS_FOURCC_BANDITEM_CHUNK2 mmioFOURCC('b','d','2','h')
151/* Chord Track */
152#define DMUS_FOURCC_CHORDTRACK_LIST mmioFOURCC('c','o','r','d')
153#define DMUS_FOURCC_CHORDTRACKHEADER_CHUNK mmioFOURCC('c','r','d','h')
154#define DMUS_FOURCC_CHORDTRACKBODY_CHUNK mmioFOURCC('c','r','d','b')
155/* Chordmap Track */
156#define DMUS_FOURCC_PERS_TRACK_LIST mmioFOURCC('p','f','t','r')
157#define DMUS_FOURCC_PERS_REF_LIST mmioFOURCC('p','f','r','f')
158#define DMUS_FOURCC_TIME_STAMP_CHUNK mmioFOURCC('s','t','m','p')
159/* Command Track */
160#define DMUS_FOURCC_COMMANDTRACK_CHUNK mmioFOURCC('c','m','n','d')
161/* Lyrics Track */
162#define DMUS_FOURCC_LYRICSTRACK_LIST mmioFOURCC('l','y','r','t')
163#define DMUS_FOURCC_LYRICSTRACKEVENTS_LIST mmioFOURCC('l','y','r','l')
164#define DMUS_FOURCC_LYRICSTRACKEVENT_LIST mmioFOURCC('l','y','r','e')
165#define DMUS_FOURCC_LYRICSTRACKEVENTHEADER_CHUNK mmioFOURCC('l','y','r','h')
166#define DMUS_FOURCC_LYRICSTRACKEVENTTEXT_CHUNK mmioFOURCC('l','y','r','n')
167/* Marker Track */
168#define DMUS_FOURCC_MARKERTRACK_LIST mmioFOURCC('M','A','R','K')
169#define DMUS_FOURCC_VALIDSTART_CHUNK mmioFOURCC('v','a','l','s')
170#define DMUS_FOURCC_PLAYMARKER_CHUNK mmioFOURCC('p','l','a','y')
171/* Mute Track */
172#define DMUS_FOURCC_MUTE_CHUNK mmioFOURCC('m','u','t','e')
173/* Parameter Control Track */
174#define DMUS_FOURCC_PARAMCONTROLTRACK_TRACK_LIST mmioFOURCC('p','r','m','t')
175#define DMUS_FOURCC_PARAMCONTROLTRACK_OBJECT_LIST mmioFOURCC('p','r','o','l')
176#define DMUS_FOURCC_PARAMCONTROLTRACK_OBJECT_CHUNK mmioFOURCC('p','r','o','h')
177#define DMUS_FOURCC_PARAMCONTROLTRACK_PARAM_LIST mmioFOURCC('p','r','p','l')
178#define DMUS_FOURCC_PARAMCONTROLTRACK_PARAM_CHUNK mmioFOURCC('p','r','p','h')
179#define DMUS_FOURCC_PARAMCONTROLTRACK_CURVES_CHUNK mmioFOURCC('p','r','c','c')
180/* Pattern Track */
181#define DMUS_FOURCC_PATTERN_FORM mmioFOURCC('D','M','P','T')
182/* Script Track */
183#define DMUS_FOURCC_SCRIPTTRACK_LIST mmioFOURCC('s','c','r','t')
184#define DMUS_FOURCC_SCRIPTTRACKEVENTS_LIST mmioFOURCC('s','c','r','l')
185#define DMUS_FOURCC_SCRIPTTRACKEVENT_LIST mmioFOURCC('s','c','r','e')
186#define DMUS_FOURCC_SCRIPTTRACKEVENTHEADER_CHUNK mmioFOURCC('s','c','r','h')
187#define DMUS_FOURCC_SCRIPTTRACKEVENTNAME_CHUNK mmioFOURCC('s','c','r','n')
188/* Segment Trgigger Track */
189#define DMUS_FOURCC_SEGTRACK_LIST mmioFOURCC('s','e','g','t')
190#define DMUS_FOURCC_SEGTRACK_CHUNK mmioFOURCC('s','g','t','h')
191#define DMUS_FOURCC_SEGMENTS_LIST mmioFOURCC('l','s','g','l')
192#define DMUS_FOURCC_SEGMENT_LIST mmioFOURCC('l','s','e','g')
193#define DMUS_FOURCC_SEGMENTITEM_CHUNK mmioFOURCC('s','g','i','h')
194#define DMUS_FOURCC_SEGMENTITEMNAME_CHUNK mmioFOURCC('s','n','a','m')
195/* Sequence Track */
196#define DMUS_FOURCC_SEQ_TRACK mmioFOURCC('s','e','q','t')
197#define DMUS_FOURCC_SEQ_LIST mmioFOURCC('e','v','t','l')
198#define DMUS_FOURCC_CURVE_LIST mmioFOURCC('c','u','r','l')
199/* Signpost Track */
200#define DMUS_FOURCC_SIGNPOST_TRACK_CHUNK mmioFOURCC('s','g','n','p')
201/* Style Track */
202#define DMUS_FOURCC_STYLE_TRACK_LIST mmioFOURCC('s','t','t','r')
203#define DMUS_FOURCC_STYLE_REF_LIST mmioFOURCC('s','t','r','f')
204/* SysEx Track */
205#define DMUS_FOURCC_SYSEX_TRACK mmioFOURCC('s','y','e','x')
206/* Tempo Track */
207#define DMUS_FOURCC_TEMPO_TRACK mmioFOURCC('t','e','t','r')
208/* Time Signature Track */
209#define DMUS_FOURCC_TIMESIGNATURE_TRACK mmioFOURCC('t','i','m','s')
210#define DMUS_FOURCC_TIMESIGTRACK_LIST mmioFOURCC('T','I','M','S')
211#define DMUS_FOURCC_TIMESIG_CHUNK DMUS_FOURCC_TIMESIGNATURE_TRACK
212/* Wave Track */
213#define DMUS_FOURCC_WAVETRACK_LIST mmioFOURCC('w','a','v','t')
214#define DMUS_FOURCC_WAVETRACK_CHUNK mmioFOURCC('w','a','t','h')
215#define DMUS_FOURCC_WAVEPART_LIST mmioFOURCC('w','a','v','p')
216#define DMUS_FOURCC_WAVEPART_CHUNK mmioFOURCC('w','a','p','h')
217#define DMUS_FOURCC_WAVEITEM_LIST mmioFOURCC('w','a','v','i')
218#define DMUS_FOURCC_WAVE_LIST mmioFOURCC('w','a','v','e')
219#define DMUS_FOURCC_WAVEITEM_CHUNK mmioFOURCC('w','a','i','h')
220/* Wave Header */
221#define DMUS_FOURCC_WAVEHEADER_CHUNK mmioFOURCC('w','a','v','h')
222
223
224/*****************************************************************************
225 * Flags
226 */
227#define DMUS_BUFFERF_SHARED 0x1
228#define DMUS_BUFFERF_DEFINED 0x2
229#define DMUS_BUFFERF_MIXIN 0x8
230
231#define DMUS_CHORDMAPF_VERSION8 0x1
232
233#define DMUS_CONTAINED_OBJF_KEEP 0x1
234
235#define DMUS_CONTAINER_NOLOADS 0x2
236
237#define DMUS_IO_INST_PATCH 0x0001
238#define DMUS_IO_INST_BANKSELECT 0x0002
239#define DMUS_IO_INST_ASSIGN_PATCH 0x0008
240#define DMUS_IO_INST_NOTERANGES 0x0010
241#define DMUS_IO_INST_PAN 0x0020
242#define DMUS_IO_INST_VOLUME 0x0040
243#define DMUS_IO_INST_TRANSPOSE 0x0080
244#define DMUS_IO_INST_GM 0x0100
245#define DMUS_IO_INST_GS 0x0200
246#define DMUS_IO_INST_XG 0x0400
247#define DMUS_IO_INST_CHANNEL_PRIORITY 0x0800
248#define DMUS_IO_INST_USE_DEFAULT_GM_SET 0x1000
249#define DMUS_IO_INST_PITCHBENDRANGE 0x2000
250
251#define DMUS_IO_SCRIPTTRACKF_PREPARE 0x1
252#define DMUS_IO_SCRIPTTRACKF_QUEUE 0x2
253#define DMUS_IO_SCRIPTTRACKF_ATTIME 0x4
254
255#define DMUS_MARKERF_START 0x1
256#define DMUS_MARKERF_STOP 0x2
257#define DMUS_MARKERF_CHORD_ALIGN 0x4
258
259#define DMUS_PATTERNF_PERSIST_CONTROL 0x1
260
261#define DMUS_PARTF_USE_MARKERS 0x1
262#define DMUS_PARTF_ALIGN_CHORDS 0x2
263
264#define DMUS_PORTCONFIGF_DRUMSON10 0x1
265#define DMUS_PORTCONFIGF_USEDEFAULT 0x2
266
267#define DMUS_SCRIPTIOF_LOAD_ALL_CONTENT 0x1
268#define DMUS_SCRIPTIOF_DOWNLOAD_ALL_SEGMENTS 0x2
269
270#define DMUS_SEGIOF_REFLENGTH 0x1
271#define DMUS_SEGIOF_CLOCKTIME 0x2
272
273#define DMUS_SEGMENTTRACKF_MOTIF 0x1
274
275/* Song flags; MS doesn't support this in DX 9.0 anymore */
276#define DMUS_SONG_MAXSEGID 0x7FFFFFFF
277#define DMUS_SONG_ANYSEG 0x80000000
278#define DMUS_SONG_NOSEG 0xFFFFFFFF
279#define DMUS_SONG_NOFROMSEG 0x80000001
280
281#define DMUS_SIGNPOSTF_A 0x0001
282#define DMUS_SIGNPOSTF_B 0x0002
283#define DMUS_SIGNPOSTF_C 0x0004
284#define DMUS_SIGNPOSTF_D 0x0008
285#define DMUS_SIGNPOSTF_E 0x0010
286#define DMUS_SIGNPOSTF_F 0x0020
287#define DMUS_SIGNPOSTF_1 0x0100
288#define DMUS_SIGNPOSTF_2 0x0200
289#define DMUS_SIGNPOSTF_3 0x0400
290#define DMUS_SIGNPOSTF_4 0x0800
291#define DMUS_SIGNPOSTF_5 0x1000
292#define DMUS_SIGNPOSTF_6 0x2000
293#define DMUS_SIGNPOSTF_7 0x4000
294#define DMUS_SIGNPOSTF_CADENCE 0x8000
295#define DMUS_SIGNPOSTF_LETTER (DMUS_SIGNPOSTF_A | DMUS_SIGNPOSTF_B | DMUS_SIGNPOSTF_C | DMUS_SIGNPOSTF_D | DMUS_SIGNPOSTF_E | DMUS_SIGNPOSTF_F)
296#define DMUS_SIGNPOSTF_ROOT (DMUS_SIGNPOSTF_1 | DMUS_SIGNPOSTF_2 | DMUS_SIGNPOSTF_3 | DMUS_SIGNPOSTF_4 | DMUS_SIGNPOSTF_5 | DMUS_SIGNPOSTF_6 | DMUS_SIGNPOSTF_7)
297
298#define DMUS_SPOSTCADENCEF_1 0x2
299#define DMUS_SPOSTCADENCEF_2 0x4
300
301#define DMUS_VARIATIONF_MAJOR 0x0000007F
302#define DMUS_VARIATIONF_MINOR 0x00003F80
303#define DMUS_VARIATIONF_OTHER 0x001FC000
304#define DMUS_VARIATIONF_ROOT_SCALE 0x00200000
305#define DMUS_VARIATIONF_ROOT_FLAT 0x00400000
306#define DMUS_VARIATIONF_ROOT_SHARP 0x00800000
307#define DMUS_VARIATIONF_TYPE_TRIAD 0x01000000
308#define DMUS_VARIATIONF_TYPE_6AND7 0x02000000
309#define DMUS_VARIATIONF_TYPE_COMPLEX 0x04000000
310#define DMUS_VARIATIONF_DEST_TO1 0x08000000
311#define DMUS_VARIATIONF_DEST_TO5 0x10000000
312#define DMUS_VARIATIONF_DEST_OTHER 0x40000000
313#define DMUS_VARIATIONF_MODES 0xE0000000
314#define DMUS_VARIATIONF_MODES_EX (0x20000000 | 0x80000000)
315#define DMUS_VARIATIONF_IMA25_MODE 0x00000000
316#define DMUS_VARIATIONF_DMUS_MODE 0x20000000
317
318#define DMUS_WAVETRACKF_SYNC_VAR 0x1
319#define DMUS_WAVETRACKF_PERSIST_CONTROL 0x2
320
321
322/*****************************************************************************
323 * Enumerations
324 */
325/* typedef definitions */
329
330/* actual enumerations */
338
346 DMUS_EMBELLISHT_ALL = 0xFFFF
348
357
358
359/*****************************************************************************
360 * Structures
361 */
362/* typedef definitions */
367typedef struct DMUS_CHORD_KEY DMUS_CHORD_PARAM, *LPDMUS_CHORD_PARAM; /* in dmusici.h */
429
430/* actual structures */
435 short nOffset;
439};
440
446 short nOffset;
454 /* DX8 */
457};
458
461 double dblTempo;
462};
463
468};
469
473};
474
477 double dblTempo;
478};
479
484};
485
486#pragma pack(2)
491};
492
495 double dblTempo;
496};
497
501};
502
512};
513
524};
525
535};
536
537
550 /* DX8 */
552};
553
567 /* DX8 */
570};
571
576};
577
583};
584
590};
591
598};
599#pragma pack()
600
607};
608
616};
617
626};
627
635};
636
642};
643
649};
650
654};
655
658};
659
662};
663
667};
668
680};
681
685};
686
690};
691
699};
700
715};
716
719};
720
726};
727
735 /* DX8 */
739 /* DX9 */
743};
744
751};
752
756};
757
761};
762
767};
768
777};
778
782};
783
790};
791
795};
796
799};
800
805};
806
811};
812
818};
819
822};
823
826};
827
830};
831
837};
838
843};
844
850};
851
860};
861
865};
866
874};
875
882};
883
886};
887
891};
892
899};
900
903};
904
905#ifdef __cplusplus
906}
907#endif
908
909#include <poppack.h>
910
911#endif /* __WINE_DMUSIC_FILEFORMATS_H */
DWORD FOURCC
Definition: dmdls.h:25
LONG MUSIC_TIME
Definition: dmplugin.h:95
struct _DMUS_IO_PARTREF * LPDMUS_IO_PARTREF
Definition: dmusicf.h:376
struct _DMUS_IO_PATTERN * LPDMUS_IO_PATTERN
Definition: dmusicf.h:374
struct _DMUS_IO_SEGMENT_ITEM_HEADER * LPDMUS_IO_SEGMENT_ITEM_HEADER
Definition: dmusicf.h:418
struct _DMUS_IO_SCRIPTTRACK_EVENTHEADER * LPDMUS_IO_SCRIPTTRACK_EVENTHEADER
Definition: dmusicf.h:419
struct _DMUS_IO_PORTCONFIG_HEADER * LPDMUS_IO_PORTCONFIG_HEADER
Definition: dmusicf.h:387
struct _DMUS_IO_BAND_ITEM_HEADER2 * LPDMUS_IO_BAND_ITEM_HEADER2
Definition: dmusicf.h:392
struct _DMUS_IO_TIMESIG * LPDMUS_IO_TIMESIG
Definition: dmusicf.h:371
struct _DMUS_IO_MOTIFSETTINGS * LPDMUS_IO_MOTIFSETTINGS
Definition: dmusicf.h:382
struct _DMUS_IO_REFERENCE * LPDMUS_IO_REFERENCE
Definition: dmusicf.h:403
struct _DMUS_IO_PARAMCONTROLTRACK_PARAMHEADER * LPDMUS_IO_PARAMCONTROLTRACK_PARAMHEADER
Definition: dmusicf.h:422
struct _DMUS_IO_CHORDMAP_SUBCHORD * LPDMUS_IO_PERS_SUBCHORD
Definition: dmusicf.h:406
struct _DMUS_IO_CHORDENTRY * LPDMUS_IO_CHORDENTRY
Definition: dmusicf.h:407
struct _DMUS_IO_CHORD * LPDMUS_IO_CHORD
Definition: dmusicf.h:383
struct _DSOUND_IO_DSBUSID * LPDSOUND_IO_DSBUSID
Definition: dmusicf.h:425
struct _DMUS_IO_SIGNPOST * LPDMUS_IO_SIGNPOST
Definition: dmusicf.h:412
struct _DMUS_IO_TEMPO_ITEM * LPDMUS_IO_TEMPO_ITEM
Definition: dmusicf.h:365
struct _DMUS_IO_CONTAINER_HEADER * LPDMUS_IO_CONTAINER_HEADER
Definition: dmusicf.h:398
struct _DMUS_IO_COMMAND * LPDMUS_IO_COMMAND
Definition: dmusicf.h:385
struct _DMUS_IO_SYSEX_ITEM * LPDMUS_IO_SYSEX_ITEM
Definition: dmusicf.h:366
struct _DMUS_IO_SEQ_ITEM * LPDMUS_IO_SEQ_ITEM
Definition: dmusicf.h:363
struct _DSOUND_IO_DXDMO_HEADER * LPDSOUND_IO_DXDMO_HEADER
Definition: dmusicf.h:427
struct _DMUS_IO_NEXTCHORD * LPDMUS_IO_NEXTCHORD
Definition: dmusicf.h:408
struct _DMUS_IO_STYLEPART * LPDMUS_IO_STYLEPART
Definition: dmusicf.h:375
struct _DSOUND_IO_3D * LPDSOUND_IO_3D
Definition: dmusicf.h:426
struct DMUS_CHORD_KEY * LPDMUS_CHORD_PARAM
Definition: dmusicf.h:367
struct _DMUS_IO_TRACK_HEADER * LPDMUS_IO_TRACK_HEADER
Definition: dmusicf.h:401
struct _DMUS_IO_PARAMCONTROLTRACK_CURVEINFO * LPDMUS_IO_PARAMCONTROLTRACK_CURVEINFO
Definition: dmusicf.h:423
struct _DMUS_IO_BUFFER_ATTRIBUTES_HEADER * LPDMUS_IO_BUFFER_ATTRIBUTES_HEADER
Definition: dmusicf.h:389
struct _DMUS_IO_VALID_START * LPDMUS_IO_VALID_START
Definition: dmusicf.h:415
struct _DMUS_IO_TIMESIGNATURE_ITEM * LPDMUS_IO_TIMESIGNATURE_ITEM
Definition: dmusicf.h:414
enumDMUS_VARIATIONT_TYPES
Definition: dmusicf.h:331
@ DMUS_VARIATIONT_SEQUENTIAL
Definition: dmusicf.h:332
@ DMUS_VARIATIONT_NO_REPEAT
Definition: dmusicf.h:335
@ DMUS_VARIATIONT_RANDOM_ROW
Definition: dmusicf.h:336
@ DMUS_VARIATIONT_RANDOM_START
Definition: dmusicf.h:334
@ DMUS_VARIATIONT_RANDOM
Definition: dmusicf.h:333
struct _DMUS_IO_SEGMENT_HEADER * LPDMUS_IO_SEGMENT_HEADER
Definition: dmusicf.h:400
struct _DMUS_MUTE_PARAM * LPDMUS_MUTE_PARAM
Definition: dmusicf.h:370
struct _DMUS_IO_SUBCHORD * LPDMUS_IO_SUBCHORD
Definition: dmusicf.h:384
struct _DMUS_IO_CHORDMAP_SIGNPOST * LPDMUS_IO_CHORDMAP_SIGNPOST
Definition: dmusicf.h:409
enumDMUS_PATTERNT_TYPES
Definition: dmusicf.h:349
@ DMUS_PATTERNT_SEQUENTIAL
Definition: dmusicf.h:352
@ DMUS_PATTERNT_RANDOM_ROW
Definition: dmusicf.h:355
@ DMUS_PATTERNT_REPEAT
Definition: dmusicf.h:351
@ DMUS_PATTERNT_NO_REPEAT
Definition: dmusicf.h:354
@ DMUS_PATTERNT_RANDOM
Definition: dmusicf.h:350
@ DMUS_PATTERNT_RANDOM_START
Definition: dmusicf.h:353
struct _DMUS_IO_BAND_TRACK_HEADER * LPDMUS_IO_BAND_TRACK_HEADER
Definition: dmusicf.h:390
enum enumDMUS_EMBELLISHT_TYPES DMUS_EMBELLISHT_TYPES
Definition: dmusicf.h:327
struct _DMUS_IO_TOOL_HEADER * LPDMUS_IO_TOOL_HEADER
Definition: dmusicf.h:386
struct _DMUS_RHYTHM_PARAM * LPDMUS_RHYTHM_PARAM
Definition: dmusicf.h:368
enum enumDMUS_VARIATIONT_TYPES DMUS_VARIATIONT_TYPES
Definition: dmusicf.h:326
enumDMUS_EMBELLISHT_TYPES
Definition: dmusicf.h:339
@ DMUS_EMBELLISHT_MOTIF
Definition: dmusicf.h:345
@ DMUS_EMBELLISHT_INTRO
Definition: dmusicf.h:343
@ DMUS_EMBELLISHT_END
Definition: dmusicf.h:344
@ DMUS_EMBELLISHT_BREAK
Definition: dmusicf.h:342
@ DMUS_EMBELLISHT_FILL
Definition: dmusicf.h:341
@ DMUS_EMBELLISHT_ALL
Definition: dmusicf.h:346
@ DMUS_EMBELLISHT_NORMAL
Definition: dmusicf.h:340
struct _DMUS_IO_CHORDMAP * LPDMUS_IO_CHORDMAP
Definition: dmusicf.h:404
struct _DSOUND_IO_DSBUFFERDESC * LPDSOUND_IO_DSBUFFERDESC
Definition: dmusicf.h:424
struct _DMUS_IO_WAVE_HEADER * LPDMUS_IO_WAVE_HEADER
Definition: dmusicf.h:394
struct _DMUS_IO_CONTAINED_OBJECT_HEADER * LPDMUS_IO_CONTAINED_OBJECT_HEADER
Definition: dmusicf.h:399
struct _DMUS_IO_SEGMENT_TRACK_HEADER * LPDMUS_IO_SEGMENT_TRACK_HEADER
Definition: dmusicf.h:417
struct _DMUS_IO_WAVE_ITEM_HEADER * LPDMUS_IO_WAVE_ITEM_HEADER
Definition: dmusicf.h:397
struct _DMUS_IO_MUTE * LPDMUS_IO_MUTE
Definition: dmusicf.h:413
enum enumDMUS_PATTERNT_TYPES DMUS_PATTERNT_TYPES
Definition: dmusicf.h:328
struct _DMUS_IO_CURVE_ITEM * LPDMUS_IO_CURVE_ITEM
Definition: dmusicf.h:364
struct _DMUS_IO_LYRICSTRACK_EVENTHEADER * LPDMUS_IO_LYRICSTRACK_EVENTHEADER
Definition: dmusicf.h:420
struct _DMUS_IO_CHORDMAP_SIGNPOST * LPDMUS_IO_PERS_SIGNPOST
Definition: dmusicf.h:410
struct _DMUS_IO_WAVE_PART_HEADER * LPDMUS_IO_WAVE_PART_HEADER
Definition: dmusicf.h:396
struct _DMUS_TEMPO_PARAM * LPDMUS_TEMPO_PARAM
Definition: dmusicf.h:369
struct _DMUS_IO_STYLE * LPDMUS_IO_STYLE
Definition: dmusicf.h:372
struct _DMUS_IO_TRACK_EXTRAS_HEADER * LPDMUS_IO_TRACK_EXTRAS_HEADER
Definition: dmusicf.h:402
struct _DMUS_IO_INSTRUMENT * LPDMUS_IO_INSTRUMENT
Definition: dmusicf.h:393
struct _DMUS_IO_STYLENOTE * LPDMUS_IO_STYLENOTE
Definition: dmusicf.h:377
struct _DMUS_IO_STYLECURVE * LPDMUS_IO_STYLECURVE
Definition: dmusicf.h:378
struct _DMUS_IO_SCRIPT_HEADER * LPDMUS_IO_SCRIPT_HEADER
Definition: dmusicf.h:411
struct _DMUS_IO_VERSION * LPDMUS_IO_VERSION
Definition: dmusicf.h:373
struct _DSOUND_IO_DXDMO_DATA * LPDSOUND_IO_DXDMO_DATA
Definition: dmusicf.h:428
struct _DMUS_IO_CHORDMAP_SUBCHORD * LPDMUS_IO_CHORDMAP_SUBCHORD
Definition: dmusicf.h:405
struct _DMUS_IO_PCHANNELTOBUFFER_HEADER * LPDMUS_IO_PCHANNELTOBUFFER_HEADER
Definition: dmusicf.h:388
struct _DMUS_IO_BAND_ITEM_HEADER * LPDMUS_IO_BAND_ITEM_HEADER
Definition: dmusicf.h:391
struct _DMUS_IO_PARAMCONTROLTRACK_OBJECTHEADER * LPDMUS_IO_PARAMCONTROLTRACK_OBJECTHEADER
Definition: dmusicf.h:421
struct _DMUS_IO_STYLE_ANTICIPATION * LPDMUS_IO_STYLE_ANTICIPATION
Definition: dmusicf.h:381
struct _DMUS_IO_STYLERESOLUTION * LPDMUS_IO_STYLERESOLUTION
Definition: dmusicf.h:380
struct _DMUS_IO_STYLEMARKER * LPDMUS_IO_STYLEMARKER
Definition: dmusicf.h:379
struct _DMUS_IO_PLAY_MARKER * LPDMUS_IO_PLAY_MARKER
Definition: dmusicf.h:416
struct _DMUS_IO_WAVE_TRACK_HEADER * LPDMUS_IO_WAVE_TRACK_HEADER
Definition: dmusicf.h:395
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
long LONG
Definition: pedump.c:60
MUSIC_TIME lBandTimeLogical
Definition: dmusicf.h:665
MUSIC_TIME lBandTimePhysical
Definition: dmusicf.h:666
DWORD dwScalePattern
Definition: dmusicf.h:765
WCHAR wszLoadName[20]
Definition: dmusicf.h:764
WORD wMeasure
Definition: dmusicf.h:604
WCHAR wszName[16]
Definition: dmusicf.h:602
MUSIC_TIME mtTime
Definition: dmusicf.h:603
BYTE bGrooveLevel
Definition: dmusicf.h:623
BYTE bRepeatMode
Definition: dmusicf.h:625
BYTE bGrooveRange
Definition: dmusicf.h:624
MUSIC_TIME mtTime
Definition: dmusicf.h:619
MUSIC_TIME mtResetDuration
Definition: dmusicf.h:444
MUSIC_TIME mtDuration
Definition: dmusicf.h:443
MUSIC_TIME mtStart
Definition: dmusicf.h:442
DWORD dwNoteRanges[4]
Definition: dmusicf.h:672
short nPitchBendRange
Definition: dmusicf.h:679
DWORD dwChannelPriority
Definition: dmusicf.h:678
MUSIC_TIME mtLoopStart
Definition: dmusicf.h:595
MUSIC_TIME mtLoopEnd
Definition: dmusicf.h:596
MUSIC_TIME mtPlayStart
Definition: dmusicf.h:594
DWORD dwPChannel
Definition: dmusicf.h:809
DWORD dwPChannelMap
Definition: dmusicf.h:810
MUSIC_TIME mtTime
Definition: dmusicf.h:808
DWORD dwPChannel
Definition: dmusicf.h:534
BYTE bSubChordLevel
Definition: dmusicf.h:530
WORD wLogicalPartID
Definition: dmusicf.h:528
BYTE bRandomVariation
Definition: dmusicf.h:532
BYTE bVariationLockID
Definition: dmusicf.h:529
BYTE bGrooveBottom
Definition: dmusicf.h:505
BYTE bDestGrooveTop
Definition: dmusicf.h:510
WORD wNbrMeasures
Definition: dmusicf.h:508
WORD wEmbellishment
Definition: dmusicf.h:507
BYTE bDestGrooveBottom
Definition: dmusicf.h:509
DMUS_IO_TIMESIG timeSig
Definition: dmusicf.h:504
MUSIC_TIME mtTime
Definition: dmusicf.h:825
MUSIC_TIME mtPlayStart
Definition: dmusicf.h:731
REFERENCE_TIME rtPlayStart
Definition: dmusicf.h:742
REFERENCE_TIME rtLength
Definition: dmusicf.h:736
MUSIC_TIME mtLoopStart
Definition: dmusicf.h:732
REFERENCE_TIME rtLoopStart
Definition: dmusicf.h:740
MUSIC_TIME mtLength
Definition: dmusicf.h:730
REFERENCE_TIME rtLoopEnd
Definition: dmusicf.h:741
MUSIC_TIME mtLoopEnd
Definition: dmusicf.h:733
DWORD dwPChannel
Definition: dmusicf.h:434
MUSIC_TIME mtTime
Definition: dmusicf.h:432
MUSIC_TIME mtDuration
Definition: dmusicf.h:433
MUSIC_TIME mtTime
Definition: dmusicf.h:802
MUSIC_TIME mtDuration
Definition: dmusicf.h:557
MUSIC_TIME mtGridStart
Definition: dmusicf.h:555
MUSIC_TIME mtResetDuration
Definition: dmusicf.h:558
MUSIC_TIME mtGridStart
Definition: dmusicf.h:573
MUSIC_TIME mtGridStart
Definition: dmusicf.h:539
MUSIC_TIME mtDuration
Definition: dmusicf.h:541
DWORD dwVariationChoices[32]
Definition: dmusicf.h:516
DMUS_IO_TIMESIG timeSig
Definition: dmusicf.h:515
double dblTempo
Definition: dmusicf.h:495
DMUS_IO_TIMESIG timeSig
Definition: dmusicf.h:494
DWORD dwInversionPoints
Definition: dmusicf.h:612
DWORD dwScalePattern
Definition: dmusicf.h:611
DWORD dwChordPattern
Definition: dmusicf.h:610
MUSIC_TIME mtTime
Definition: dmusicf.h:465
MUSIC_TIME lTime
Definition: dmusicf.h:460
WORD wGridsPerBeat
Definition: dmusicf.h:490
BYTE bBeatsPerMeasure
Definition: dmusicf.h:488
DWORD dwPChannels[1]
Definition: dmusicf.h:634
MUSIC_TIME mtTime
Definition: dmusicf.h:821
DWORD dwVersionMS
Definition: dmusicf.h:499
DWORD dwVersionLS
Definition: dmusicf.h:500
REFERENCE_TIME rtReadAhead
Definition: dmusicf.h:683
REFERENCE_TIME rtDuration
Definition: dmusicf.h:708
REFERENCE_TIME rtStartOffset
Definition: dmusicf.h:706
MUSIC_TIME mtLogicalTime
Definition: dmusicf.h:709
REFERENCE_TIME rtReserved
Definition: dmusicf.h:707
REFERENCE_TIME rtTime
Definition: dmusicf.h:705
DWORD dwPChannel
Definition: dmusicf.h:481
DWORD dwPChannelMap
Definition: dmusicf.h:482
DWORD dwRhythmPattern
Definition: dmusicf.h:472
DMUS_TIMESIGNATURE TimeSig
Definition: dmusicf.h:471
double dblTempo
Definition: dmusicf.h:477
MUSIC_TIME mtTime
Definition: dmusicf.h:476
DS3DBUFFER ds3d
Definition: dmusicf.h:890
GUID guid3DAlgorithm
Definition: dmusicf.h:889
DWORD busid[1]
Definition: dmusicf.h:885
__wchar_t WCHAR
Definition: xmlstorage.h:180
unsigned char BYTE
Definition: xxhash.c:193