VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/mmreg.h

Last change on this file was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

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