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 | * Sun 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, Sun 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 |
|
---|
43 | typedef 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 |
|
---|
54 | typedef 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 |
|
---|
63 | typedef 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_
|
---|
72 | typedef 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 |
|
---|
132 | typedef struct adpcmcoef_tag {
|
---|
133 | short iCoef1;
|
---|
134 | short iCoef2;
|
---|
135 | } ADPCMCOEFSET;
|
---|
136 | typedef ADPCMCOEFSET *PADPCMCOEFSET,
|
---|
137 | *NPADPCMCOEFSET, *LPADPCMCOEFSET;
|
---|
138 |
|
---|
139 | typedef 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;
|
---|
146 | typedef ADPCMWAVEFORMAT *PADPCMWAVEFORMAT,
|
---|
147 | *NPADPCMWAVEFORMAT, *LPADPCMWAVEFORMAT;
|
---|
148 |
|
---|
149 | typedef struct dvi_adpcmwaveformat_tag {
|
---|
150 | WAVEFORMATEX wfx;
|
---|
151 | WORD wSamplesPerBlock;
|
---|
152 | } DVIADPCMWAVEFORMAT;
|
---|
153 | typedef DVIADPCMWAVEFORMAT *PDVIADPCMWAVEFORMAT,
|
---|
154 | *NPDVIADPCMWAVEFORMAT, *LPDVIADPCMWAVEFORMAT;
|
---|
155 |
|
---|
156 | typedef struct ima_adpcmwaveformat_tag {
|
---|
157 | WAVEFORMATEX wfx;
|
---|
158 | WORD wSamplesPerBlock;
|
---|
159 | } IMAADPCMWAVEFORMAT;
|
---|
160 | typedef IMAADPCMWAVEFORMAT *PIMAADPCMWAVEFORMAT, *NPIMAADPCMWAVEFORMAT,
|
---|
161 | *LPIMAADPCMWAVEFORMAT;
|
---|
162 |
|
---|
163 | typedef struct mediaspace_adpcmwaveformat_tag {
|
---|
164 | WAVEFORMATEX wfx;
|
---|
165 | WORD wRevision;
|
---|
166 | } MEDIASPACEADPCMWAVEFORMAT;
|
---|
167 | typedef MEDIASPACEADPCMWAVEFORMAT *PMEDIASPACEADPCMWAVEFORMAT,
|
---|
168 | *NPMEDIASPACEADPCMWAVEFORMAT, *LPMEDIASPACEADPCMWAVEFORMAT;
|
---|
169 |
|
---|
170 | typedef struct sierra_adpcmwaveformat_tag {
|
---|
171 | WAVEFORMATEX wfx;
|
---|
172 | WORD wRevision;
|
---|
173 | } SIERRAADPCMWAVEFORMAT;
|
---|
174 | typedef SIERRAADPCMWAVEFORMAT *PSIERRAADPCMWAVEFORMAT,
|
---|
175 | *NPSIERRAADPCMWAVEFORMAT, *LPSIERRAADPCMWAVEFORMAT;
|
---|
176 |
|
---|
177 | typedef struct g723_adpcmwaveformat_tag {
|
---|
178 | WAVEFORMATEX wfx;
|
---|
179 | WORD cbExtraSize;
|
---|
180 | WORD nAuxBlockSize;
|
---|
181 | } G723_ADPCMWAVEFORMAT;
|
---|
182 | typedef G723_ADPCMWAVEFORMAT *PG723_ADPCMWAVEFORMAT,
|
---|
183 | *NPG723_ADPCMWAVEFORMAT, *LPG723_ADPCMWAVEFORMAT;
|
---|
184 |
|
---|
185 | typedef struct digistdwaveformat_tag {
|
---|
186 | WAVEFORMATEX wfx;
|
---|
187 | } DIGISTDWAVEFORMAT;
|
---|
188 | typedef DIGISTDWAVEFORMAT *PDIGISTDWAVEFORMAT,
|
---|
189 | *NPDIGISTDWAVEFORMAT, *LPDIGISTDWAVEFORMAT;
|
---|
190 |
|
---|
191 | typedef struct digifixwaveformat_tag {
|
---|
192 | WAVEFORMATEX wfx;
|
---|
193 | } DIGIFIXWAVEFORMAT;
|
---|
194 | typedef DIGIFIXWAVEFORMAT *PDIGIFIXWAVEFORMAT,
|
---|
195 | *NPDIGIFIXWAVEFORMAT, *LPDIGIFIXWAVEFORMAT;
|
---|
196 |
|
---|
197 | typedef struct creative_fastspeechformat_tag {
|
---|
198 | WAVEFORMATEX ewf;
|
---|
199 | } DIALOGICOKIADPCMWAVEFORMAT;
|
---|
200 | typedef DIALOGICOKIADPCMWAVEFORMAT *PDIALOGICOKIADPCMWAVEFORMAT,
|
---|
201 | *NPDIALOGICOKIADPCMWAVEFORMAT, *LPDIALOGICOKIADPCMWAVEFORMAT;
|
---|
202 |
|
---|
203 | typedef struct yamaha_adpmcwaveformat_tag {
|
---|
204 | WAVEFORMATEX wfx;
|
---|
205 | } YAMAHA_ADPCMWAVEFORMAT;
|
---|
206 | typedef YAMAHA_ADPCMWAVEFORMAT *PYAMAHA_ADPCMWAVEFORMAT,
|
---|
207 | *NPYAMAHA_ADPCMWAVEFORMAT, *LPYAMAHA_ADPCMWAVEFORMAT;
|
---|
208 |
|
---|
209 | typedef struct sonarcwaveformat_tag {
|
---|
210 | WAVEFORMATEX wfx;
|
---|
211 | WORD wCompType;
|
---|
212 | } SONARCWAVEFORMAT;
|
---|
213 | typedef SONARCWAVEFORMAT *PSONARCWAVEFORMAT,
|
---|
214 | *NPSONARCWAVEFORMAT,*LPSONARCWAVEFORMAT;
|
---|
215 |
|
---|
216 | typedef struct truespeechwaveformat_tag {
|
---|
217 | WAVEFORMATEX wfx;
|
---|
218 | WORD wRevision;
|
---|
219 | WORD nSamplesPerBlock;
|
---|
220 | BYTE abReserved[28];
|
---|
221 | } TRUESPEECHWAVEFORMAT;
|
---|
222 | typedef TRUESPEECHWAVEFORMAT *PTRUESPEECHWAVEFORMAT,
|
---|
223 | *NPTRUESPEECHWAVEFORMAT, *LPTRUESPEECHWAVEFORMAT;
|
---|
224 |
|
---|
225 | typedef struct echosc1waveformat_tag {
|
---|
226 | WAVEFORMATEX wfx;
|
---|
227 | } ECHOSC1WAVEFORMAT;
|
---|
228 | typedef ECHOSC1WAVEFORMAT *PECHOSC1WAVEFORMAT,
|
---|
229 | *NPECHOSC1WAVEFORMAT, *LPECHOSC1WAVEFORMAT;
|
---|
230 |
|
---|
231 | typedef struct audiofile_af36waveformat_tag {
|
---|
232 | WAVEFORMATEX wfx;
|
---|
233 | } AUDIOFILE_AF36WAVEFORMAT;
|
---|
234 | typedef AUDIOFILE_AF36WAVEFORMAT *PAUDIOFILE_AF36WAVEFORMAT,
|
---|
235 | *NPAUDIOFILE_AF36WAVEFORMAT, *LPAUDIOFILE_AF36WAVEFORMAT;
|
---|
236 |
|
---|
237 | typedef struct aptxwaveformat_tag {
|
---|
238 | WAVEFORMATEX wfx;
|
---|
239 | } APTXWAVEFORMAT;
|
---|
240 | typedef APTXWAVEFORMAT *PAPTXWAVEFORMAT,
|
---|
241 | *NPAPTXWAVEFORMAT, *LPAPTXWAVEFORMAT;
|
---|
242 |
|
---|
243 | typedef struct audiofile_af10waveformat_tag {
|
---|
244 | WAVEFORMATEX wfx;
|
---|
245 | } AUDIOFILE_AF10WAVEFORMAT;
|
---|
246 | typedef AUDIOFILE_AF10WAVEFORMAT *PAUDIOFILE_AF10WAVEFORMAT,
|
---|
247 | *NPAUDIOFILE_AF10WAVEFORMAT, *LPAUDIOFILE_AF10WAVEFORMAT;
|
---|
248 |
|
---|
249 | typedef struct dolbyac2waveformat_tag {
|
---|
250 | WAVEFORMATEX wfx;
|
---|
251 | WORD nAuxBitsCode;
|
---|
252 | } DOLBYAC2WAVEFORMAT;
|
---|
253 |
|
---|
254 | typedef struct gsm610waveformat_tag {
|
---|
255 | WAVEFORMATEX wfx;
|
---|
256 | WORD wSamplesPerBlock;
|
---|
257 | } GSM610WAVEFORMAT;
|
---|
258 | typedef GSM610WAVEFORMAT *PGSM610WAVEFORMAT,
|
---|
259 | *NPGSM610WAVEFORMAT, *LPGSM610WAVEFORMAT;
|
---|
260 |
|
---|
261 | typedef struct adpcmewaveformat_tag {
|
---|
262 | WAVEFORMATEX wfx;
|
---|
263 | WORD wSamplesPerBlock;
|
---|
264 | } ADPCMEWAVEFORMAT;
|
---|
265 | typedef ADPCMEWAVEFORMAT *PADPCMEWAVEFORMAT,
|
---|
266 | *NPADPCMEWAVEFORMAT, *LPADPCMEWAVEFORMAT;
|
---|
267 |
|
---|
268 | typedef struct contres_vqlpcwaveformat_tag {
|
---|
269 | WAVEFORMATEX wfx;
|
---|
270 | WORD wSamplesPerBlock;
|
---|
271 | } CONTRESVQLPCWAVEFORMAT;
|
---|
272 | typedef CONTRESVQLPCWAVEFORMAT *PCONTRESVQLPCWAVEFORMAT,
|
---|
273 | *NPCONTRESVQLPCWAVEFORMAT, *LPCONTRESVQLPCWAVEFORMAT;
|
---|
274 |
|
---|
275 | typedef struct digirealwaveformat_tag {
|
---|
276 | WAVEFORMATEX wfx;
|
---|
277 | WORD wSamplesPerBlock;
|
---|
278 | } DIGIREALWAVEFORMAT;
|
---|
279 | typedef DIGIREALWAVEFORMAT *PDIGIREALWAVEFORMAT,
|
---|
280 | *NPDIGIREALWAVEFORMAT, *LPDIGIREALWAVEFORMAT;
|
---|
281 |
|
---|
282 | typedef struct digiadpcmmwaveformat_tag {
|
---|
283 | WAVEFORMATEX wfx;
|
---|
284 | WORD wSamplesPerBlock;
|
---|
285 | } DIGIADPCMWAVEFORMAT;
|
---|
286 | typedef DIGIADPCMWAVEFORMAT *PDIGIADPCMWAVEFORMAT,
|
---|
287 | *NPDIGIADPCMWAVEFORMAT, *LPDIGIADPCMWAVEFORMAT;
|
---|
288 |
|
---|
289 | typedef struct contres_cr10waveformat_tag {
|
---|
290 | WAVEFORMATEX wfx;
|
---|
291 | WORD wSamplesPerBlock;
|
---|
292 | } CONTRESCR10WAVEFORMAT;
|
---|
293 | typedef CONTRESCR10WAVEFORMAT *PCONTRESCR10WAVEFORMAT,
|
---|
294 | *NPCONTRESCR10WAVEFORMAT, *LPCONTRESCR10WAVEFORMAT;
|
---|
295 |
|
---|
296 | typedef struct nms_vbxadpcmmwaveformat_tag {
|
---|
297 | WAVEFORMATEX wfx;
|
---|
298 | WORD wSamplesPerBlock;
|
---|
299 | } NMS_VBXADPCMWAVEFORMAT;
|
---|
300 | typedef NMS_VBXADPCMWAVEFORMAT *PNMS_VBXADPCMWAVEFORMAT,
|
---|
301 | *NPNMS_VBXADPCMWAVEFORMAT, *LPNMS_VBXADPCMWAVEFORMAT;
|
---|
302 |
|
---|
303 | typedef struct g721_adpcmwaveformat_tag {
|
---|
304 | WAVEFORMATEX wfx;
|
---|
305 | WORD nAuxBlockSize;
|
---|
306 | } G721_ADPCMWAVEFORMAT;
|
---|
307 | typedef G721_ADPCMWAVEFORMAT *PG721_ADPCMWAVEFORMAT,
|
---|
308 | *NG721_ADPCMWAVEFORMAT, *LPG721_ADPCMWAVEFORMAT;
|
---|
309 |
|
---|
310 | typedef struct creative_adpcmwaveformat_tag {
|
---|
311 | WAVEFORMATEX wfx;
|
---|
312 | WORD wRevision;
|
---|
313 | } CREATIVEADPCMWAVEFORMAT;
|
---|
314 | typedef CREATIVEADPCMWAVEFORMAT *PCREATIVEADPCMWAVEFORMAT,
|
---|
315 | *NPCREATIVEADPCMWAVEFORMAT, *LPCREATIVEADPCMWAVEFORMAT;
|
---|
316 |
|
---|
317 | typedef struct creative_fastspeech8format_tag {
|
---|
318 | WAVEFORMATEX wfx;
|
---|
319 | WORD wRevision;
|
---|
320 | } CREATIVEFASTSPEECH8WAVEFORMAT;
|
---|
321 | typedef CREATIVEFASTSPEECH8WAVEFORMAT *PCREATIVEFASTSPEECH8WAVEFORMAT,
|
---|
322 | *NPCREATIVEFASTSPEECH8WAVEFORMAT, *LPCREATIVEFASTSPEECH8WAVEFORMAT;
|
---|
323 |
|
---|
324 | typedef struct creative_fastspeech10format_tag {
|
---|
325 | WAVEFORMATEX wfx;
|
---|
326 | WORD wRevision;
|
---|
327 | } CREATIVEFASTSPEECH10WAVEFORMAT;
|
---|
328 | typedef CREATIVEFASTSPEECH10WAVEFORMAT *PCREATIVEFASTSPEECH10WAVEFORMAT,
|
---|
329 | *NPCREATIVEFASTSPEECH10WAVEFORMAT, *LPCREATIVEFASTSPEECH10WAVEFORMAT;
|
---|
330 |
|
---|
331 | typedef struct fmtowns_snd_waveformat_tag {
|
---|
332 | WAVEFORMATEX wfx;
|
---|
333 | WORD wRevision;
|
---|
334 | } FMTOWNS_SND_WAVEFORMAT;
|
---|
335 | typedef FMTOWNS_SND_WAVEFORMAT *PFMTOWNS_SND_WAVEFORMAT,
|
---|
336 | *NPFMTOWNS_SND_WAVEFORMAT, *LPFMTOWNS_SND_WAVEFORMAT;
|
---|
337 |
|
---|
338 | typedef struct oligsmwaveformat_tag {
|
---|
339 | WAVEFORMATEX wfx;
|
---|
340 | } OLIGSMWAVEFORMAT;
|
---|
341 | typedef OLIGSMWAVEFORMAT *POLIGSMWAVEFORMAT,
|
---|
342 | *NPOLIGSMWAVEFORMAT, *LPOLIGSMWAVEFORMAT;
|
---|
343 |
|
---|
344 | typedef struct oliadpcmwaveformat_tag {
|
---|
345 | WAVEFORMATEX wfx;
|
---|
346 | } OLIADPCMWAVEFORMAT;
|
---|
347 | typedef OLIADPCMWAVEFORMAT *POLIADPCMWAVEFORMAT,
|
---|
348 | *NPOLIADPCMWAVEFORMAT, *LPOLIADPCMWAVEFORMAT;
|
---|
349 |
|
---|
350 | typedef struct olicelpwaveformat_tag {
|
---|
351 | WAVEFORMATEX wfx;
|
---|
352 | } OLICELPWAVEFORMAT;
|
---|
353 | typedef OLICELPWAVEFORMAT *POLICELPWAVEFORMAT,
|
---|
354 | *NPOLICELPWAVEFORMAT, *LPOLICELPWAVEFORMAT;
|
---|
355 |
|
---|
356 | typedef struct olisbcwaveformat_tag {
|
---|
357 | WAVEFORMATEX wfx;
|
---|
358 | } OLISBCWAVEFORMAT;
|
---|
359 | typedef OLISBCWAVEFORMAT *POLISBCWAVEFORMAT,
|
---|
360 | *NPOLISBCWAVEFORMAT, *LPOLISBCWAVEFORMAT;
|
---|
361 |
|
---|
362 | typedef struct olioprwaveformat_tag {
|
---|
363 | WAVEFORMATEX wfx;
|
---|
364 | } OLIOPRWAVEFORMAT;
|
---|
365 | typedef OLIOPRWAVEFORMAT *POLIOPRWAVEFORMAT,
|
---|
366 | *NPOLIOPRWAVEFORMAT, *LPOLIOPRWAVEFORMAT;
|
---|
367 |
|
---|
368 | typedef struct csimaadpcmwaveformat_tag {
|
---|
369 | WAVEFORMATEX wfx;
|
---|
370 | } CSIMAADPCMWAVEFORMAT;
|
---|
371 | typedef CSIMAADPCMWAVEFORMAT *PCSIMAADPCMWAVEFORMAT,
|
---|
372 | *NPCSIMAADPCMWAVEFORMAT, *LPCSIMAADPCMWAVEFORMAT;
|
---|
373 |
|
---|
374 | typedef 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 |
|
---|
400 | typedef 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_
|
---|
423 | typedef 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 |
|
---|
437 | typedef WAVEFORMATEXTENSIBLE WAVEFORMATPCMEX;
|
---|
438 | typedef WAVEFORMATPCMEX* PWAVEFORMATPCMEX;
|
---|
439 | typedef WAVEFORMATPCMEX* NPWAVEFORMATPCMEX;
|
---|
440 | typedef WAVEFORMATPCMEX* LPWAVEFORMATPCMEX;
|
---|
441 |
|
---|
442 | typedef WAVEFORMATEXTENSIBLE WAVEFORMATIEEEFLOATEX;
|
---|
443 | typedef WAVEFORMATIEEEFLOATEX* PWAVEFORMATIEEEFLOATEX;
|
---|
444 | typedef WAVEFORMATIEEEFLOATEX* NPWAVEFORMATIEEEFLOATEX;
|
---|
445 | typedef 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
|
---|
489 | typedef 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 */
|
---|