Sync with trunk (r48545)
[reactos.git] / include / psdk / mmreg.h
1 /*
2 * Declarations for MultiMedia-REGistration
3 *
4 * Copyright (C) 1999 Eric Pouech
5 *
6 * This library 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 library 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 library; 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_MMREG_H
22 #define __WINE_MMREG_H
23
24 #ifndef RC_INVOKED
25 #include "pshpack1.h"
26 #endif
27
28
29 /***********************************************************************
30 * Defines/Enums
31 */
32
33 #define MM_MSFT_WDMAUDIO_WAVEOUT 0x64
34 #define MM_MSFT_WDMAUDIO_WAVEIN 0x65
35 #define MM_MSFT_WDMAUDIO_MIDIOUT 0x66
36 #define MM_MSFT_WDMAUDIO_MIDIIN 0x67
37 #define MM_MSFT_WDMAUDIO_MIXER 0x68
38 #define MM_MSFT_WDMAUDIO_AUX 0x69
39
40 #ifndef _ACM_WAVEFILTER
41 #define _ACM_WAVEFILTER
42
43 #define WAVE_FILTER_UNKNOWN 0x0000
44 #define WAVE_FILTER_DEVELOPMENT 0xFFFF
45
46 typedef struct _WAVEFILTER {
47 DWORD cbStruct;
48 DWORD dwFilterTag;
49 DWORD fdwFilter;
50 DWORD dwReserved[5];
51 } WAVEFILTER, *PWAVEFILTER, *NPWAVEFILTER, *LPWAVEFILTER;
52 #endif /* _ACM_WAVEFILTER */
53
54 #ifndef WAVE_FILTER_VOLUME
55 #define WAVE_FILTER_VOLUME 0x0001
56
57 typedef struct _WAVEFILTER_VOLUME {
58 WAVEFILTER wfltr;
59 DWORD dwVolume;
60 } VOLUMEWAVEFILTER, *PVOLUMEWAVEFILTER, *NPVOLUMEWAVEFILTER, *LPVOLUMEWAVEFILTER;
61 #endif /* WAVE_FILTER_VOLUME */
62
63 #ifndef WAVE_FILTER_ECHO
64 #define WAVE_FILTER_ECHO 0x0002
65
66 typedef struct WAVEFILTER_ECHO {
67 WAVEFILTER wfltr;
68 DWORD dwVolume;
69 DWORD dwDelay;
70 } ECHOWAVEFILTER, *PECHOWAVEFILTER, *NPECHOWAVEFILTER, *LPECHOWAVEFILTER;
71 #endif /* WAVEFILTER_ECHO */
72
73 #ifndef _WAVEFORMATEX_
74 #define _WAVEFORMATEX_
75 typedef struct _WAVEFORMATEX {
76 WORD wFormatTag;
77 WORD nChannels;
78 DWORD nSamplesPerSec;
79 DWORD nAvgBytesPerSec;
80 WORD nBlockAlign;
81 WORD wBitsPerSample;
82 WORD cbSize;
83 } WAVEFORMATEX, *PWAVEFORMATEX, *NPWAVEFORMATEX, *LPWAVEFORMATEX;
84
85 typedef const struct _WAVEFORMATEX *LPCWAVEFORMATEX;
86 #endif /* _WAVEFORMATEX_ */
87
88 #ifndef WAVE_FORMAT_PCM
89 #define WAVE_FORMAT_PCM 0x0001
90 #endif
91
92 /* WAVE form wFormatTag IDs */
93 #define WAVE_FORMAT_UNKNOWN 0x0000 /* Microsoft Corporation */
94 #define WAVE_FORMAT_ADPCM 0x0002 /* Microsoft Corporation */
95 #define WAVE_FORMAT_IBM_CVSD 0x0005 /* IBM Corporation */
96 #define WAVE_FORMAT_ALAW 0x0006 /* Microsoft Corporation */
97 #define WAVE_FORMAT_MULAW 0x0007 /* Microsoft Corporation */
98 #define WAVE_FORMAT_OKI_ADPCM 0x0010 /* OKI */
99 #define WAVE_FORMAT_DVI_ADPCM 0x0011 /* Intel Corporation */
100 #define WAVE_FORMAT_IMA_ADPCM (WAVE_FORMAT_DVI_ADPCM) /* Intel Corporation */
101 #define WAVE_FORMAT_MEDIASPACE_ADPCM 0x0012 /* Videologic */
102 #define WAVE_FORMAT_SIERRA_ADPCM 0x0013 /* Sierra Semiconductor Corp */
103 #define WAVE_FORMAT_G723_ADPCM 0x0014 /* Antex Electronics Corporation */
104 #define WAVE_FORMAT_DIGISTD 0x0015 /* DSP Solutions, Inc. */
105 #define WAVE_FORMAT_DIGIFIX 0x0016 /* DSP Solutions, Inc. */
106 #define WAVE_FORMAT_DIALOGIC_OKI_ADPCM 0x0017 /* Dialogic Corporation */
107 #define WAVE_FORMAT_YAMAHA_ADPCM 0x0020 /* Yamaha Corporation of America */
108 #define WAVE_FORMAT_SONARC 0x0021 /* Speech Compression */
109 #define WAVE_FORMAT_DSPGROUP_TRUESPEECH 0x0022 /* DSP Group, Inc */
110 #define WAVE_FORMAT_ECHOSC1 0x0023 /* Echo Speech Corporation */
111 #define WAVE_FORMAT_AUDIOFILE_AF36 0x0024 /* */
112 #define WAVE_FORMAT_APTX 0x0025 /* Audio Processing Technology */
113 #define WAVE_FORMAT_AUDIOFILE_AF10 0x0026 /* */
114 #define WAVE_FORMAT_DOLBY_AC2 0x0030 /* Dolby Laboratories */
115 #define WAVE_FORMAT_GSM610 0x0031 /* Microsoft Corporation */
116 #define WAVE_FORMAT_ANTEX_ADPCME 0x0033 /* Antex Electronics Corporation */
117 #define WAVE_FORMAT_CONTROL_RES_VQLPC 0x0034 /* Control Resources Limited */
118 #define WAVE_FORMAT_DIGIREAL 0x0035 /* DSP Solutions, Inc. */
119 #define WAVE_FORMAT_DIGIADPCM 0x0036 /* DSP Solutions, Inc. */
120 #define WAVE_FORMAT_CONTROL_RES_CR10 0x0037 /* Control Resources Limited */
121 #define WAVE_FORMAT_NMS_VBXADPCM 0x0038 /* Natural MicroSystems */
122 #define WAVE_FORMAT_G721_ADPCM 0x0040 /* Antex Electronics Corporation */
123 #define WAVE_FORMAT_MPEG 0x0050 /* Microsoft Corporation */
124 #define WAVE_FORMAT_MPEGLAYER3 0x0055
125 #define WAVE_FORMAT_DOLBY_AC3_SPDIF 0x0092 /* Sonic Foundry */
126 #define WAVE_FORMAT_CREATIVE_ADPCM 0x0200 /* Creative Labs, Inc */
127 #define WAVE_FORMAT_CREATIVE_FASTSPEECH8 0x0202 /* Creative Labs, Inc */
128 #define WAVE_FORMAT_CREATIVE_FASTSPEECH10 0x0203 /* Creative Labs, Inc */
129 #define WAVE_FORMAT_FM_TOWNS_SND 0x0300 /* Fujitsu Corp. */
130 #define WAVE_FORMAT_OLIGSM 0x1000 /* Ing C. Olivetti & C., S.p.A. */
131 #define WAVE_FORMAT_OLIADPCM 0x1001 /* Ing C. Olivetti & C., S.p.A. */
132 #define WAVE_FORMAT_OLICELP 0x1002 /* Ing C. Olivetti & C., S.p.A. */
133 #define WAVE_FORMAT_OLISBC 0x1003 /* Ing C. Olivetti & C., S.p.A. */
134 #define WAVE_FORMAT_OLIOPR 0x1004 /* Ing C. Olivetti & C., S.p.A. */
135
136 #define MM_UNMAPPED 0xffff
137 #define MM_PID_UNMAPPED MM_UNMAPPED
138
139 #if !defined(WAVE_FORMAT_EXTENSIBLE)
140 #define WAVE_FORMAT_EXTENSIBLE 0xFFFE /* Microsoft */
141 #endif
142
143 #define WAVE_FORMAT_DEVELOPMENT (0xFFFF)
144
145 typedef struct adpcmcoef_tag {
146 short iCoef1;
147 short iCoef2;
148 } ADPCMCOEFSET;
149 typedef ADPCMCOEFSET *PADPCMCOEFSET,
150 *NPADPCMCOEFSET, *LPADPCMCOEFSET;
151
152 typedef struct adpcmwaveformat_tag {
153 WAVEFORMATEX wfx;
154 WORD wSamplesPerBlock;
155 WORD wNumCoef;
156 /* FIXME: this should be aCoef[0] */
157 ADPCMCOEFSET aCoef[1];
158 } ADPCMWAVEFORMAT;
159 typedef ADPCMWAVEFORMAT *PADPCMWAVEFORMAT,
160 *NPADPCMWAVEFORMAT, *LPADPCMWAVEFORMAT;
161
162 typedef struct dvi_adpcmwaveformat_tag {
163 WAVEFORMATEX wfx;
164 WORD wSamplesPerBlock;
165 } DVIADPCMWAVEFORMAT;
166 typedef DVIADPCMWAVEFORMAT *PDVIADPCMWAVEFORMAT,
167 *NPDVIADPCMWAVEFORMAT, *LPDVIADPCMWAVEFORMAT;
168
169 typedef struct ima_adpcmwaveformat_tag {
170 WAVEFORMATEX wfx;
171 WORD wSamplesPerBlock;
172 } IMAADPCMWAVEFORMAT;
173 typedef IMAADPCMWAVEFORMAT *PIMAADPCMWAVEFORMAT, *NPIMAADPCMWAVEFORMAT,
174 *LPIMAADPCMWAVEFORMAT;
175
176 typedef struct mediaspace_adpcmwaveformat_tag {
177 WAVEFORMATEX wfx;
178 WORD wRevision;
179 } MEDIASPACEADPCMWAVEFORMAT;
180 typedef MEDIASPACEADPCMWAVEFORMAT *PMEDIASPACEADPCMWAVEFORMAT,
181 *NPMEDIASPACEADPCMWAVEFORMAT, *LPMEDIASPACEADPCMWAVEFORMAT;
182
183 typedef struct sierra_adpcmwaveformat_tag {
184 WAVEFORMATEX wfx;
185 WORD wRevision;
186 } SIERRAADPCMWAVEFORMAT;
187 typedef SIERRAADPCMWAVEFORMAT *PSIERRAADPCMWAVEFORMAT,
188 *NPSIERRAADPCMWAVEFORMAT, *LPSIERRAADPCMWAVEFORMAT;
189
190 typedef struct g723_adpcmwaveformat_tag {
191 WAVEFORMATEX wfx;
192 WORD cbExtraSize;
193 WORD nAuxBlockSize;
194 } G723_ADPCMWAVEFORMAT;
195 typedef G723_ADPCMWAVEFORMAT *PG723_ADPCMWAVEFORMAT,
196 *NPG723_ADPCMWAVEFORMAT, *LPG723_ADPCMWAVEFORMAT;
197
198 typedef struct digistdwaveformat_tag {
199 WAVEFORMATEX wfx;
200 } DIGISTDWAVEFORMAT;
201 typedef DIGISTDWAVEFORMAT *PDIGISTDWAVEFORMAT,
202 *NPDIGISTDWAVEFORMAT, *LPDIGISTDWAVEFORMAT;
203
204 typedef struct digifixwaveformat_tag {
205 WAVEFORMATEX wfx;
206 } DIGIFIXWAVEFORMAT;
207 typedef DIGIFIXWAVEFORMAT *PDIGIFIXWAVEFORMAT,
208 *NPDIGIFIXWAVEFORMAT, *LPDIGIFIXWAVEFORMAT;
209
210 typedef struct creative_fastspeechformat_tag {
211 WAVEFORMATEX ewf;
212 } DIALOGICOKIADPCMWAVEFORMAT;
213 typedef DIALOGICOKIADPCMWAVEFORMAT *PDIALOGICOKIADPCMWAVEFORMAT,
214 *NPDIALOGICOKIADPCMWAVEFORMAT, *LPDIALOGICOKIADPCMWAVEFORMAT;
215
216 typedef struct yamaha_adpmcwaveformat_tag {
217 WAVEFORMATEX wfx;
218 } YAMAHA_ADPCMWAVEFORMAT;
219 typedef YAMAHA_ADPCMWAVEFORMAT *PYAMAHA_ADPCMWAVEFORMAT,
220 *NPYAMAHA_ADPCMWAVEFORMAT, *LPYAMAHA_ADPCMWAVEFORMAT;
221
222 typedef struct sonarcwaveformat_tag {
223 WAVEFORMATEX wfx;
224 WORD wCompType;
225 } SONARCWAVEFORMAT;
226 typedef SONARCWAVEFORMAT *PSONARCWAVEFORMAT,
227 *NPSONARCWAVEFORMAT,*LPSONARCWAVEFORMAT;
228
229 typedef struct truespeechwaveformat_tag {
230 WAVEFORMATEX wfx;
231 WORD wRevision;
232 WORD nSamplesPerBlock;
233 BYTE abReserved[28];
234 } TRUESPEECHWAVEFORMAT;
235 typedef TRUESPEECHWAVEFORMAT *PTRUESPEECHWAVEFORMAT,
236 *NPTRUESPEECHWAVEFORMAT, *LPTRUESPEECHWAVEFORMAT;
237
238 typedef struct echosc1waveformat_tag {
239 WAVEFORMATEX wfx;
240 } ECHOSC1WAVEFORMAT;
241 typedef ECHOSC1WAVEFORMAT *PECHOSC1WAVEFORMAT,
242 *NPECHOSC1WAVEFORMAT, *LPECHOSC1WAVEFORMAT;
243
244 typedef struct audiofile_af36waveformat_tag {
245 WAVEFORMATEX wfx;
246 } AUDIOFILE_AF36WAVEFORMAT;
247 typedef AUDIOFILE_AF36WAVEFORMAT *PAUDIOFILE_AF36WAVEFORMAT,
248 *NPAUDIOFILE_AF36WAVEFORMAT, *LPAUDIOFILE_AF36WAVEFORMAT;
249
250 typedef struct aptxwaveformat_tag {
251 WAVEFORMATEX wfx;
252 } APTXWAVEFORMAT;
253 typedef APTXWAVEFORMAT *PAPTXWAVEFORMAT,
254 *NPAPTXWAVEFORMAT, *LPAPTXWAVEFORMAT;
255
256 typedef struct audiofile_af10waveformat_tag {
257 WAVEFORMATEX wfx;
258 } AUDIOFILE_AF10WAVEFORMAT;
259 typedef AUDIOFILE_AF10WAVEFORMAT *PAUDIOFILE_AF10WAVEFORMAT,
260 *NPAUDIOFILE_AF10WAVEFORMAT, *LPAUDIOFILE_AF10WAVEFORMAT;
261
262 typedef struct dolbyac2waveformat_tag {
263 WAVEFORMATEX wfx;
264 WORD nAuxBitsCode;
265 } DOLBYAC2WAVEFORMAT;
266
267 typedef struct gsm610waveformat_tag {
268 WAVEFORMATEX wfx;
269 WORD wSamplesPerBlock;
270 } GSM610WAVEFORMAT;
271 typedef GSM610WAVEFORMAT *PGSM610WAVEFORMAT,
272 *NPGSM610WAVEFORMAT, *LPGSM610WAVEFORMAT;
273
274 typedef struct adpcmewaveformat_tag {
275 WAVEFORMATEX wfx;
276 WORD wSamplesPerBlock;
277 } ADPCMEWAVEFORMAT;
278 typedef ADPCMEWAVEFORMAT *PADPCMEWAVEFORMAT,
279 *NPADPCMEWAVEFORMAT, *LPADPCMEWAVEFORMAT;
280
281 typedef struct contres_vqlpcwaveformat_tag {
282 WAVEFORMATEX wfx;
283 WORD wSamplesPerBlock;
284 } CONTRESVQLPCWAVEFORMAT;
285 typedef CONTRESVQLPCWAVEFORMAT *PCONTRESVQLPCWAVEFORMAT,
286 *NPCONTRESVQLPCWAVEFORMAT, *LPCONTRESVQLPCWAVEFORMAT;
287
288 typedef struct digirealwaveformat_tag {
289 WAVEFORMATEX wfx;
290 WORD wSamplesPerBlock;
291 } DIGIREALWAVEFORMAT;
292 typedef DIGIREALWAVEFORMAT *PDIGIREALWAVEFORMAT,
293 *NPDIGIREALWAVEFORMAT, *LPDIGIREALWAVEFORMAT;
294
295 typedef struct digiadpcmmwaveformat_tag {
296 WAVEFORMATEX wfx;
297 WORD wSamplesPerBlock;
298 } DIGIADPCMWAVEFORMAT;
299 typedef DIGIADPCMWAVEFORMAT *PDIGIADPCMWAVEFORMAT,
300 *NPDIGIADPCMWAVEFORMAT, *LPDIGIADPCMWAVEFORMAT;
301
302 typedef struct contres_cr10waveformat_tag {
303 WAVEFORMATEX wfx;
304 WORD wSamplesPerBlock;
305 } CONTRESCR10WAVEFORMAT;
306 typedef CONTRESCR10WAVEFORMAT *PCONTRESCR10WAVEFORMAT,
307 *NPCONTRESCR10WAVEFORMAT, *LPCONTRESCR10WAVEFORMAT;
308
309 typedef struct nms_vbxadpcmmwaveformat_tag {
310 WAVEFORMATEX wfx;
311 WORD wSamplesPerBlock;
312 } NMS_VBXADPCMWAVEFORMAT;
313 typedef NMS_VBXADPCMWAVEFORMAT *PNMS_VBXADPCMWAVEFORMAT,
314 *NPNMS_VBXADPCMWAVEFORMAT, *LPNMS_VBXADPCMWAVEFORMAT;
315
316 typedef struct g721_adpcmwaveformat_tag {
317 WAVEFORMATEX wfx;
318 WORD nAuxBlockSize;
319 } G721_ADPCMWAVEFORMAT;
320 typedef G721_ADPCMWAVEFORMAT *PG721_ADPCMWAVEFORMAT,
321 *NG721_ADPCMWAVEFORMAT, *LPG721_ADPCMWAVEFORMAT;
322
323 typedef struct creative_adpcmwaveformat_tag {
324 WAVEFORMATEX wfx;
325 WORD wRevision;
326 } CREATIVEADPCMWAVEFORMAT;
327 typedef CREATIVEADPCMWAVEFORMAT *PCREATIVEADPCMWAVEFORMAT,
328 *NPCREATIVEADPCMWAVEFORMAT, *LPCREATIVEADPCMWAVEFORMAT;
329
330 typedef struct creative_fastspeech8format_tag {
331 WAVEFORMATEX wfx;
332 WORD wRevision;
333 } CREATIVEFASTSPEECH8WAVEFORMAT;
334 typedef CREATIVEFASTSPEECH8WAVEFORMAT *PCREATIVEFASTSPEECH8WAVEFORMAT,
335 *NPCREATIVEFASTSPEECH8WAVEFORMAT, *LPCREATIVEFASTSPEECH8WAVEFORMAT;
336
337 typedef struct creative_fastspeech10format_tag {
338 WAVEFORMATEX wfx;
339 WORD wRevision;
340 } CREATIVEFASTSPEECH10WAVEFORMAT;
341 typedef CREATIVEFASTSPEECH10WAVEFORMAT *PCREATIVEFASTSPEECH10WAVEFORMAT,
342 *NPCREATIVEFASTSPEECH10WAVEFORMAT, *LPCREATIVEFASTSPEECH10WAVEFORMAT;
343
344 typedef struct fmtowns_snd_waveformat_tag {
345 WAVEFORMATEX wfx;
346 WORD wRevision;
347 } FMTOWNS_SND_WAVEFORMAT;
348 typedef FMTOWNS_SND_WAVEFORMAT *PFMTOWNS_SND_WAVEFORMAT,
349 *NPFMTOWNS_SND_WAVEFORMAT, *LPFMTOWNS_SND_WAVEFORMAT;
350
351 typedef struct oligsmwaveformat_tag {
352 WAVEFORMATEX wfx;
353 } OLIGSMWAVEFORMAT;
354 typedef OLIGSMWAVEFORMAT *POLIGSMWAVEFORMAT,
355 *NPOLIGSMWAVEFORMAT, *LPOLIGSMWAVEFORMAT;
356
357 typedef struct oliadpcmwaveformat_tag {
358 WAVEFORMATEX wfx;
359 } OLIADPCMWAVEFORMAT;
360 typedef OLIADPCMWAVEFORMAT *POLIADPCMWAVEFORMAT,
361 *NPOLIADPCMWAVEFORMAT, *LPOLIADPCMWAVEFORMAT;
362
363 typedef struct olicelpwaveformat_tag {
364 WAVEFORMATEX wfx;
365 } OLICELPWAVEFORMAT;
366 typedef OLICELPWAVEFORMAT *POLICELPWAVEFORMAT,
367 *NPOLICELPWAVEFORMAT, *LPOLICELPWAVEFORMAT;
368
369 typedef struct olisbcwaveformat_tag {
370 WAVEFORMATEX wfx;
371 } OLISBCWAVEFORMAT;
372 typedef OLISBCWAVEFORMAT *POLISBCWAVEFORMAT,
373 *NPOLISBCWAVEFORMAT, *LPOLISBCWAVEFORMAT;
374
375 typedef struct olioprwaveformat_tag {
376 WAVEFORMATEX wfx;
377 } OLIOPRWAVEFORMAT;
378 typedef OLIOPRWAVEFORMAT *POLIOPRWAVEFORMAT,
379 *NPOLIOPRWAVEFORMAT, *LPOLIOPRWAVEFORMAT;
380
381 typedef struct csimaadpcmwaveformat_tag {
382 WAVEFORMATEX wfx;
383 } CSIMAADPCMWAVEFORMAT;
384 typedef CSIMAADPCMWAVEFORMAT *PCSIMAADPCMWAVEFORMAT,
385 *NPCSIMAADPCMWAVEFORMAT, *LPCSIMAADPCMWAVEFORMAT;
386
387 typedef struct mpeg1waveformat_tag {
388 WAVEFORMATEX wfx;
389 WORD fwHeadLayer;
390 DWORD dwHeadBitrate;
391 WORD fwHeadMode;
392 WORD fwHeadModeExt;
393 WORD wHeadEmphasis;
394 WORD fwHeadFlags;
395 DWORD dwPTSLow;
396 DWORD dwPTSHigh;
397 } MPEG1WAVEFORMAT,* PMPEG1WAVEFORMAT;
398
399 #define ACM_MPEG_LAYER1 0x0001
400 #define ACM_MPEG_LAYER2 0x0002
401 #define ACM_MPEG_LAYER3 0x0004
402
403 #define ACM_MPEG_STEREO 0x0001
404 #define ACM_MPEG_JOINTSTEREO 0x0002
405 #define ACM_MPEG_DUALCHANNEL 0x0004
406 #define ACM_MPEG_SINGLECHANNEL 0x0008
407 #define ACM_MPEG_PRIVATEBIT 0x0001
408 #define ACM_MPEG_COPYRIGHT 0x0002
409 #define ACM_MPEG_ORIGINALHOME 0x0004
410 #define ACM_MPEG_PROTECTIONBIT 0x0008
411 #define ACM_MPEG_ID_MPEG1 0x0010
412
413 typedef struct mpeglayer3waveformat_tag {
414 WAVEFORMATEX wfx;
415 WORD wID;
416 DWORD fdwFlags;
417 WORD nBlockSize;
418 WORD nFramesPerBlock;
419 WORD nCodecDelay;
420 } MPEGLAYER3WAVEFORMAT;
421
422 #define MPEGLAYER3_WFX_EXTRA_BYTES 12
423
424 #define MPEGLAYER3_ID_UNKNOWN 0
425 #define MPEGLAYER3_ID_MPEG 1
426 #define MPEGLAYER3_ID_CONSTANTFRAMESIZE 2
427
428 #define MPEGLAYER3_FLAG_PADDING_ISO 0x00000000
429 #define MPEGLAYER3_FLAG_PADDING_ON 0x00000001
430 #define MPEGLAYER3_FLAG_PADDING_OFF 0x00000002
431
432 #ifdef GUID_DEFINED
433
434 #ifndef _WAVEFORMATEXTENSIBLE_
435 #define _WAVEFORMATEXTENSIBLE_
436 typedef struct {
437 WAVEFORMATEX Format;
438 union {
439 WORD wValidBitsPerSample;
440 WORD wSamplesPerBlock;
441 WORD wReserved;
442 } Samples;
443 DWORD dwChannelMask;
444 GUID SubFormat;
445 } WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE;
446 #endif /* _WAVEFORMATEXTENSIBLE_ */
447
448 #endif /* GUID_DEFINED */
449
450 typedef WAVEFORMATEXTENSIBLE WAVEFORMATPCMEX;
451 typedef WAVEFORMATPCMEX* PWAVEFORMATPCMEX;
452 typedef WAVEFORMATPCMEX* NPWAVEFORMATPCMEX;
453 typedef WAVEFORMATPCMEX* LPWAVEFORMATPCMEX;
454
455 typedef WAVEFORMATEXTENSIBLE WAVEFORMATIEEEFLOATEX;
456 typedef WAVEFORMATIEEEFLOATEX* PWAVEFORMATIEEEFLOATEX;
457 typedef WAVEFORMATIEEEFLOATEX* NPWAVEFORMATIEEEFLOATEX;
458 typedef WAVEFORMATIEEEFLOATEX* LPWAVEFORMATIEEEFLOATEX;
459
460 #ifndef _SPEAKER_POSITIONS_
461 #define _SPEAKER_POSITIONS_
462
463 #define SPEAKER_FRONT_LEFT 0x00000001
464 #define SPEAKER_FRONT_RIGHT 0x00000002
465 #define SPEAKER_FRONT_CENTER 0x00000004
466 #define SPEAKER_LOW_FREQUENCY 0x00000008
467 #define SPEAKER_BACK_LEFT 0x00000010
468 #define SPEAKER_BACK_RIGHT 0x00000020
469 #define SPEAKER_FRONT_LEFT_OF_CENTER 0x00000040
470 #define SPEAKER_FRONT_RIGHT_OF_CENTER 0x00000080
471 #define SPEAKER_BACK_CENTER 0x00000100
472 #define SPEAKER_SIDE_LEFT 0x00000200
473 #define SPEAKER_SIDE_RIGHT 0x00000400
474 #define SPEAKER_TOP_CENTER 0x00000800
475 #define SPEAKER_TOP_FRONT_LEFT 0x00001000
476 #define SPEAKER_TOP_FRONT_CENTER 0x00002000
477 #define SPEAKER_TOP_FRONT_RIGHT 0x00004000
478 #define SPEAKER_TOP_BACK_LEFT 0x00008000
479 #define SPEAKER_TOP_BACK_CENTER 0x00010000
480 #define SPEAKER_TOP_BACK_RIGHT 0x00020000
481 #define SPEAKER_RESERVED 0x7FFC0000
482 #define SPEAKER_ALL 0x80000000
483
484 #endif /* _SPEAKER_POSITIONS_ */
485
486
487 /* DIB stuff */
488
489 #ifndef BI_BITFIELDS
490 #define BI_BITFIELDS 3
491 #endif
492
493 #ifndef QUERYDIBSUPPORT
494 #define QUERYDIBSUPPORT 3073
495 #define QDI_SETDIBITS 1
496 #define QDI_GETDIBITS 2
497 #define QDI_DIBTOSCREEN 4
498 #define QDI_STRETCHDIB 8
499 #endif
500
501 #ifndef NOBITMAP
502 typedef struct tagEXBMINFOHEADER {
503 BITMAPINFOHEADER bmi;
504 DWORD biExtDataOffset;
505 } EXBMINFOHEADER;
506 #endif
507
508
509 /* Video stuff */
510
511 #ifndef NONEWIC
512
513 #ifndef ICTYPE_VIDEO
514 #define ICTYPE_VIDEO mmioFOURCC('v', 'i', 'd', 'c')
515 #define ICTYPE_AUDIO mmioFOURCC('a', 'u', 'd', 'c')
516 #endif
517
518 #endif
519
520 #ifndef RC_INVOKED
521 #include "poppack.h"
522 #endif
523
524 #endif /* __WINE_MMREG_H */