VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/mmreg.h@ 33876

Last change on this file since 33876 was 33656, checked in by vboxsync, 14 years ago

*: rebrand Sun (L)GPL disclaimers

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette