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