1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 use shared::guiddef::GUID;
7 use shared::minwindef::{DWORD, WORD};
8 pub const WAVE_FORMAT_UNKNOWN: WORD = 0x0000;
9 pub const WAVE_FORMAT_PCM: WORD = 0x0001;
10 pub const WAVE_FORMAT_ADPCM: WORD = 0x0002;
11 pub const WAVE_FORMAT_IEEE_FLOAT: WORD = 0x0003;
12 pub const WAVE_FORMAT_VSELP: WORD = 0x0004;
13 pub const WAVE_FORMAT_IBM_CVSD: WORD = 0x0005;
14 pub const WAVE_FORMAT_ALAW: WORD = 0x0006;
15 pub const WAVE_FORMAT_MULAW: WORD = 0x0007;
16 pub const WAVE_FORMAT_DTS: WORD = 0x0008;
17 pub const WAVE_FORMAT_DRM: WORD = 0x0009;
18 pub const WAVE_FORMAT_WMAVOICE9: WORD = 0x000A;
19 pub const WAVE_FORMAT_WMAVOICE10: WORD = 0x000B;
20 pub const WAVE_FORMAT_OKI_ADPCM: WORD = 0x0010;
21 pub const WAVE_FORMAT_DVI_ADPCM: WORD = 0x0011;
22 pub const WAVE_FORMAT_IMA_ADPCM: WORD = WAVE_FORMAT_DVI_ADPCM;
23 pub const WAVE_FORMAT_MEDIASPACE_ADPCM: WORD = 0x0012;
24 pub const WAVE_FORMAT_SIERRA_ADPCM: WORD = 0x0013;
25 pub const WAVE_FORMAT_G723_ADPCM: WORD = 0x0014;
26 pub const WAVE_FORMAT_DIGISTD: WORD = 0x0015;
27 pub const WAVE_FORMAT_DIGIFIX: WORD = 0x0016;
28 pub const WAVE_FORMAT_DIALOGIC_OKI_ADPCM: WORD = 0x0017;
29 pub const WAVE_FORMAT_MEDIAVISION_ADPCM: WORD = 0x0018;
30 pub const WAVE_FORMAT_CU_CODEC: WORD = 0x0019;
31 pub const WAVE_FORMAT_HP_DYN_VOICE: WORD = 0x001A;
32 pub const WAVE_FORMAT_YAMAHA_ADPCM: WORD = 0x0020;
33 pub const WAVE_FORMAT_SONARC: WORD = 0x0021;
34 pub const WAVE_FORMAT_DSPGROUP_TRUESPEECH: WORD = 0x0022;
35 pub const WAVE_FORMAT_ECHOSC1: WORD = 0x0023;
36 pub const WAVE_FORMAT_AUDIOFILE_AF36: WORD = 0x0024;
37 pub const WAVE_FORMAT_APTX: WORD = 0x0025;
38 pub const WAVE_FORMAT_AUDIOFILE_AF10: WORD = 0x0026;
39 pub const WAVE_FORMAT_PROSODY_1612: WORD = 0x0027;
40 pub const WAVE_FORMAT_LRC: WORD = 0x0028;
41 pub const WAVE_FORMAT_DOLBY_AC2: WORD = 0x0030;
42 pub const WAVE_FORMAT_GSM610: WORD = 0x0031;
43 pub const WAVE_FORMAT_MSNAUDIO: WORD = 0x0032;
44 pub const WAVE_FORMAT_ANTEX_ADPCME: WORD = 0x0033;
45 pub const WAVE_FORMAT_CONTROL_RES_VQLPC: WORD = 0x0034;
46 pub const WAVE_FORMAT_DIGIREAL: WORD = 0x0035;
47 pub const WAVE_FORMAT_DIGIADPCM: WORD = 0x0036;
48 pub const WAVE_FORMAT_CONTROL_RES_CR10: WORD = 0x0037;
49 pub const WAVE_FORMAT_NMS_VBXADPCM: WORD = 0x0038;
50 pub const WAVE_FORMAT_CS_IMAADPCM: WORD = 0x0039;
51 pub const WAVE_FORMAT_ECHOSC3: WORD = 0x003A;
52 pub const WAVE_FORMAT_ROCKWELL_ADPCM: WORD = 0x003B;
53 pub const WAVE_FORMAT_ROCKWELL_DIGITALK: WORD = 0x003C;
54 pub const WAVE_FORMAT_XEBEC: WORD = 0x003D;
55 pub const WAVE_FORMAT_G721_ADPCM: WORD = 0x0040;
56 pub const WAVE_FORMAT_G728_CELP: WORD = 0x0041;
57 pub const WAVE_FORMAT_MSG723: WORD = 0x0042;
58 pub const WAVE_FORMAT_INTEL_G723_1: WORD = 0x0043;
59 pub const WAVE_FORMAT_INTEL_G729: WORD = 0x0044;
60 pub const WAVE_FORMAT_SHARP_G726: WORD = 0x0045;
61 pub const WAVE_FORMAT_MPEG: WORD = 0x0050;
62 pub const WAVE_FORMAT_RT24: WORD = 0x0052;
63 pub const WAVE_FORMAT_PAC: WORD = 0x0053;
64 pub const WAVE_FORMAT_MPEGLAYER3: WORD = 0x0055;
65 pub const WAVE_FORMAT_LUCENT_G723: WORD = 0x0059;
66 pub const WAVE_FORMAT_CIRRUS: WORD = 0x0060;
67 pub const WAVE_FORMAT_ESPCM: WORD = 0x0061;
68 pub const WAVE_FORMAT_VOXWARE: WORD = 0x0062;
69 pub const WAVE_FORMAT_CANOPUS_ATRAC: WORD = 0x0063;
70 pub const WAVE_FORMAT_G726_ADPCM: WORD = 0x0064;
71 pub const WAVE_FORMAT_G722_ADPCM: WORD = 0x0065;
72 pub const WAVE_FORMAT_DSAT: WORD = 0x0066;
73 pub const WAVE_FORMAT_DSAT_DISPLAY: WORD = 0x0067;
74 pub const WAVE_FORMAT_VOXWARE_BYTE_ALIGNED: WORD = 0x0069;
75 pub const WAVE_FORMAT_VOXWARE_AC8: WORD = 0x0070;
76 pub const WAVE_FORMAT_VOXWARE_AC10: WORD = 0x0071;
77 pub const WAVE_FORMAT_VOXWARE_AC16: WORD = 0x0072;
78 pub const WAVE_FORMAT_VOXWARE_AC20: WORD = 0x0073;
79 pub const WAVE_FORMAT_VOXWARE_RT24: WORD = 0x0074;
80 pub const WAVE_FORMAT_VOXWARE_RT29: WORD = 0x0075;
81 pub const WAVE_FORMAT_VOXWARE_RT29HW: WORD = 0x0076;
82 pub const WAVE_FORMAT_VOXWARE_VR12: WORD = 0x0077;
83 pub const WAVE_FORMAT_VOXWARE_VR18: WORD = 0x0078;
84 pub const WAVE_FORMAT_VOXWARE_TQ40: WORD = 0x0079;
85 pub const WAVE_FORMAT_VOXWARE_SC3: WORD = 0x007A;
86 pub const WAVE_FORMAT_VOXWARE_SC3_1: WORD = 0x007B;
87 pub const WAVE_FORMAT_SOFTSOUND: WORD = 0x0080;
88 pub const WAVE_FORMAT_VOXWARE_TQ60: WORD = 0x0081;
89 pub const WAVE_FORMAT_MSRT24: WORD = 0x0082;
90 pub const WAVE_FORMAT_G729A: WORD = 0x0083;
91 pub const WAVE_FORMAT_MVI_MVI2: WORD = 0x0084;
92 pub const WAVE_FORMAT_DF_G726: WORD = 0x0085;
93 pub const WAVE_FORMAT_DF_GSM610: WORD = 0x0086;
94 pub const WAVE_FORMAT_ISIAUDIO: WORD = 0x0088;
95 pub const WAVE_FORMAT_ONLIVE: WORD = 0x0089;
96 pub const WAVE_FORMAT_MULTITUDE_FT_SX20: WORD = 0x008A;
97 pub const WAVE_FORMAT_INFOCOM_ITS_G721_ADPCM: WORD = 0x008B;
98 pub const WAVE_FORMAT_CONVEDIA_G729: WORD = 0x008C;
99 pub const WAVE_FORMAT_CONGRUENCY: WORD = 0x008D;
100 pub const WAVE_FORMAT_SBC24: WORD = 0x0091;
101 pub const WAVE_FORMAT_DOLBY_AC3_SPDIF: WORD = 0x0092;
102 pub const WAVE_FORMAT_MEDIASONIC_G723: WORD = 0x0093;
103 pub const WAVE_FORMAT_PROSODY_8KBPS: WORD = 0x0094;
104 pub const WAVE_FORMAT_ZYXEL_ADPCM: WORD = 0x0097;
105 pub const WAVE_FORMAT_PHILIPS_LPCBB: WORD = 0x0098;
106 pub const WAVE_FORMAT_PACKED: WORD = 0x0099;
107 pub const WAVE_FORMAT_MALDEN_PHONYTALK: WORD = 0x00A0;
108 pub const WAVE_FORMAT_RACAL_RECORDER_GSM: WORD = 0x00A1;
109 pub const WAVE_FORMAT_RACAL_RECORDER_G720_A: WORD = 0x00A2;
110 pub const WAVE_FORMAT_RACAL_RECORDER_G723_1: WORD = 0x00A3;
111 pub const WAVE_FORMAT_RACAL_RECORDER_TETRA_ACELP: WORD = 0x00A4;
112 pub const WAVE_FORMAT_NEC_AAC: WORD = 0x00B0;
113 pub const WAVE_FORMAT_RAW_AAC1: WORD = 0x00FF;
114 pub const WAVE_FORMAT_RHETOREX_ADPCM: WORD = 0x0100;
115 pub const WAVE_FORMAT_IRAT: WORD = 0x0101;
116 pub const WAVE_FORMAT_VIVO_G723: WORD = 0x0111;
117 pub const WAVE_FORMAT_VIVO_SIREN: WORD = 0x0112;
118 pub const WAVE_FORMAT_PHILIPS_CELP: WORD = 0x0120;
119 pub const WAVE_FORMAT_PHILIPS_GRUNDIG: WORD = 0x0121;
120 pub const WAVE_FORMAT_DIGITAL_G723: WORD = 0x0123;
121 pub const WAVE_FORMAT_SANYO_LD_ADPCM: WORD = 0x0125;
122 pub const WAVE_FORMAT_SIPROLAB_ACEPLNET: WORD = 0x0130;
123 pub const WAVE_FORMAT_SIPROLAB_ACELP4800: WORD = 0x0131;
124 pub const WAVE_FORMAT_SIPROLAB_ACELP8V3: WORD = 0x0132;
125 pub const WAVE_FORMAT_SIPROLAB_G729: WORD = 0x0133;
126 pub const WAVE_FORMAT_SIPROLAB_G729A: WORD = 0x0134;
127 pub const WAVE_FORMAT_SIPROLAB_KELVIN: WORD = 0x0135;
128 pub const WAVE_FORMAT_VOICEAGE_AMR: WORD = 0x0136;
129 pub const WAVE_FORMAT_G726ADPCM: WORD = 0x0140;
130 pub const WAVE_FORMAT_DICTAPHONE_CELP68: WORD = 0x0141;
131 pub const WAVE_FORMAT_DICTAPHONE_CELP54: WORD = 0x0142;
132 pub const WAVE_FORMAT_QUALCOMM_PUREVOICE: WORD = 0x0150;
133 pub const WAVE_FORMAT_QUALCOMM_HALFRATE: WORD = 0x0151;
134 pub const WAVE_FORMAT_TUBGSM: WORD = 0x0155;
135 pub const WAVE_FORMAT_MSAUDIO1: WORD = 0x0160;
136 pub const WAVE_FORMAT_WMAUDIO2: WORD = 0x0161;
137 pub const WAVE_FORMAT_WMAUDIO3: WORD = 0x0162;
138 pub const WAVE_FORMAT_WMAUDIO_LOSSLESS: WORD = 0x0163;
139 pub const WAVE_FORMAT_WMASPDIF: WORD = 0x0164;
140 pub const WAVE_FORMAT_UNISYS_NAP_ADPCM: WORD = 0x0170;
141 pub const WAVE_FORMAT_UNISYS_NAP_ULAW: WORD = 0x0171;
142 pub const WAVE_FORMAT_UNISYS_NAP_ALAW: WORD = 0x0172;
143 pub const WAVE_FORMAT_UNISYS_NAP_16K: WORD = 0x0173;
144 pub const WAVE_FORMAT_SYCOM_ACM_SYC008: WORD = 0x0174;
145 pub const WAVE_FORMAT_SYCOM_ACM_SYC701_G726L: WORD = 0x0175;
146 pub const WAVE_FORMAT_SYCOM_ACM_SYC701_CELP54: WORD = 0x0176;
147 pub const WAVE_FORMAT_SYCOM_ACM_SYC701_CELP68: WORD = 0x0177;
148 pub const WAVE_FORMAT_KNOWLEDGE_ADVENTURE_ADPCM: WORD = 0x0178;
149 pub const WAVE_FORMAT_FRAUNHOFER_IIS_MPEG2_AAC: WORD = 0x0180;
150 pub const WAVE_FORMAT_DTS_DS: WORD = 0x0190;
151 pub const WAVE_FORMAT_CREATIVE_ADPCM: WORD = 0x0200;
152 pub const WAVE_FORMAT_CREATIVE_FASTSPEECH8: WORD = 0x0202;
153 pub const WAVE_FORMAT_CREATIVE_FASTSPEECH10: WORD = 0x0203;
154 pub const WAVE_FORMAT_UHER_ADPCM: WORD = 0x0210;
155 pub const WAVE_FORMAT_ULEAD_DV_AUDIO: WORD = 0x0215;
156 pub const WAVE_FORMAT_ULEAD_DV_AUDIO_1: WORD = 0x0216;
157 pub const WAVE_FORMAT_QUARTERDECK: WORD = 0x0220;
158 pub const WAVE_FORMAT_ILINK_VC: WORD = 0x0230;
159 pub const WAVE_FORMAT_RAW_SPORT: WORD = 0x0240;
160 pub const WAVE_FORMAT_ESST_AC3: WORD = 0x0241;
161 pub const WAVE_FORMAT_GENERIC_PASSTHRU: WORD = 0x0249;
162 pub const WAVE_FORMAT_IPI_HSX: WORD = 0x0250;
163 pub const WAVE_FORMAT_IPI_RPELP: WORD = 0x0251;
164 pub const WAVE_FORMAT_CS2: WORD = 0x0260;
165 pub const WAVE_FORMAT_SONY_SCX: WORD = 0x0270;
166 pub const WAVE_FORMAT_SONY_SCY: WORD = 0x0271;
167 pub const WAVE_FORMAT_SONY_ATRAC3: WORD = 0x0272;
168 pub const WAVE_FORMAT_SONY_SPC: WORD = 0x0273;
169 pub const WAVE_FORMAT_TELUM_AUDIO: WORD = 0x0280;
170 pub const WAVE_FORMAT_TELUM_IA_AUDIO: WORD = 0x0281;
171 pub const WAVE_FORMAT_NORCOM_VOICE_SYSTEMS_ADPCM: WORD = 0x0285;
172 pub const WAVE_FORMAT_FM_TOWNS_SND: WORD = 0x0300;
173 pub const WAVE_FORMAT_MICRONAS: WORD = 0x0350;
174 pub const WAVE_FORMAT_MICRONAS_CELP833: WORD = 0x0351;
175 pub const WAVE_FORMAT_BTV_DIGITAL: WORD = 0x0400;
176 pub const WAVE_FORMAT_INTEL_MUSIC_CODER: WORD = 0x0401;
177 pub const WAVE_FORMAT_INDEO_AUDIO: WORD = 0x0402;
178 pub const WAVE_FORMAT_QDESIGN_MUSIC: WORD = 0x0450;
179 pub const WAVE_FORMAT_ON2_VP7_AUDIO: WORD = 0x0500;
180 pub const WAVE_FORMAT_ON2_VP6_AUDIO: WORD = 0x0501;
181 pub const WAVE_FORMAT_VME_VMPCM: WORD = 0x0680;
182 pub const WAVE_FORMAT_TPC: WORD = 0x0681;
183 pub const WAVE_FORMAT_LIGHTWAVE_LOSSLESS: WORD = 0x08AE;
184 pub const WAVE_FORMAT_OLIGSM: WORD = 0x1000;
185 pub const WAVE_FORMAT_OLIADPCM: WORD = 0x1001;
186 pub const WAVE_FORMAT_OLICELP: WORD = 0x1002;
187 pub const WAVE_FORMAT_OLISBC: WORD = 0x1003;
188 pub const WAVE_FORMAT_OLIOPR: WORD = 0x1004;
189 pub const WAVE_FORMAT_LH_CODEC: WORD = 0x1100;
190 pub const WAVE_FORMAT_LH_CODEC_CELP: WORD = 0x1101;
191 pub const WAVE_FORMAT_LH_CODEC_SBC8: WORD = 0x1102;
192 pub const WAVE_FORMAT_LH_CODEC_SBC12: WORD = 0x1103;
193 pub const WAVE_FORMAT_LH_CODEC_SBC16: WORD = 0x1104;
194 pub const WAVE_FORMAT_NORRIS: WORD = 0x1400;
195 pub const WAVE_FORMAT_ISIAUDIO_2: WORD = 0x1401;
196 pub const WAVE_FORMAT_SOUNDSPACE_MUSICOMPRESS: WORD = 0x1500;
197 pub const WAVE_FORMAT_MPEG_ADTS_AAC: WORD = 0x1600;
198 pub const WAVE_FORMAT_MPEG_RAW_AAC: WORD = 0x1601;
199 pub const WAVE_FORMAT_MPEG_LOAS: WORD = 0x1602;
200 pub const WAVE_FORMAT_NOKIA_MPEG_ADTS_AAC: WORD = 0x1608;
201 pub const WAVE_FORMAT_NOKIA_MPEG_RAW_AAC: WORD = 0x1609;
202 pub const WAVE_FORMAT_VODAFONE_MPEG_ADTS_AAC: WORD = 0x160A;
203 pub const WAVE_FORMAT_VODAFONE_MPEG_RAW_AAC: WORD = 0x160B;
204 pub const WAVE_FORMAT_MPEG_HEAAC: WORD = 0x1610;
205 pub const WAVE_FORMAT_VOXWARE_RT24_SPEECH: WORD = 0x181C;
206 pub const WAVE_FORMAT_SONICFOUNDRY_LOSSLESS: WORD = 0x1971;
207 pub const WAVE_FORMAT_INNINGS_TELECOM_ADPCM: WORD = 0x1979;
208 pub const WAVE_FORMAT_LUCENT_SX8300P: WORD = 0x1C07;
209 pub const WAVE_FORMAT_LUCENT_SX5363S: WORD = 0x1C0C;
210 pub const WAVE_FORMAT_CUSEEME: WORD = 0x1F03;
211 pub const WAVE_FORMAT_NTCSOFT_ALF2CM_ACM: WORD = 0x1FC4;
212 pub const WAVE_FORMAT_DVM: WORD = 0x2000;
213 pub const WAVE_FORMAT_DTS2: WORD = 0x2001;
214 pub const WAVE_FORMAT_MAKEAVIS: WORD = 0x3313;
215 pub const WAVE_FORMAT_DIVIO_MPEG4_AAC: WORD = 0x4143;
216 pub const WAVE_FORMAT_NOKIA_ADAPTIVE_MULTIRATE: WORD = 0x4201;
217 pub const WAVE_FORMAT_DIVIO_G726: WORD = 0x4243;
218 pub const WAVE_FORMAT_LEAD_SPEECH: WORD = 0x434C;
219 pub const WAVE_FORMAT_LEAD_VORBIS: WORD = 0x564C;
220 pub const WAVE_FORMAT_WAVPACK_AUDIO: WORD = 0x5756;
221 pub const WAVE_FORMAT_OGG_VORBIS_MODE_1: WORD = 0x674F;
222 pub const WAVE_FORMAT_OGG_VORBIS_MODE_2: WORD = 0x6750;
223 pub const WAVE_FORMAT_OGG_VORBIS_MODE_3: WORD = 0x6751;
224 pub const WAVE_FORMAT_OGG_VORBIS_MODE_1_PLUS: WORD = 0x676F;
225 pub const WAVE_FORMAT_OGG_VORBIS_MODE_2_PLUS: WORD = 0x6770;
226 pub const WAVE_FORMAT_OGG_VORBIS_MODE_3_PLUS: WORD = 0x6771;
227 pub const WAVE_FORMAT_3COM_NBX: WORD = 0x7000;
228 pub const WAVE_FORMAT_FAAD_AAC: WORD = 0x706D;
229 pub const WAVE_FORMAT_AMR_NB: WORD = 0x7361;
230 pub const WAVE_FORMAT_AMR_WB: WORD = 0x7362;
231 pub const WAVE_FORMAT_AMR_WP: WORD = 0x7363;
232 pub const WAVE_FORMAT_GSM_AMR_CBR: WORD = 0x7A21;
233 pub const WAVE_FORMAT_GSM_AMR_VBR_SID: WORD = 0x7A22;
234 pub const WAVE_FORMAT_COMVERSE_INFOSYS_G723_1: WORD = 0xA100;
235 pub const WAVE_FORMAT_COMVERSE_INFOSYS_AVQSBC: WORD = 0xA101;
236 pub const WAVE_FORMAT_COMVERSE_INFOSYS_SBC: WORD = 0xA102;
237 pub const WAVE_FORMAT_SYMBOL_G729_A: WORD = 0xA103;
238 pub const WAVE_FORMAT_VOICEAGE_AMR_WB: WORD = 0xA104;
239 pub const WAVE_FORMAT_INGENIENT_G726: WORD = 0xA105;
240 pub const WAVE_FORMAT_MPEG4_AAC: WORD = 0xA106;
241 pub const WAVE_FORMAT_ENCORE_G726: WORD = 0xA107;
242 pub const WAVE_FORMAT_ZOLL_ASAO: WORD = 0xA108;
243 pub const WAVE_FORMAT_SPEEX_VOICE: WORD = 0xA109;
244 pub const WAVE_FORMAT_VIANIX_MASC: WORD = 0xA10A;
245 pub const WAVE_FORMAT_WM9_SPECTRUM_ANALYZER: WORD = 0xA10B;
246 pub const WAVE_FORMAT_WMF_SPECTRUM_ANAYZER: WORD = 0xA10C;
247 pub const WAVE_FORMAT_GSM_610: WORD = 0xA10D;
248 pub const WAVE_FORMAT_GSM_620: WORD = 0xA10E;
249 pub const WAVE_FORMAT_GSM_660: WORD = 0xA10F;
250 pub const WAVE_FORMAT_GSM_690: WORD = 0xA110;
251 pub const WAVE_FORMAT_GSM_ADAPTIVE_MULTIRATE_WB: WORD = 0xA111;
252 pub const WAVE_FORMAT_POLYCOM_G722: WORD = 0xA112;
253 pub const WAVE_FORMAT_POLYCOM_G728: WORD = 0xA113;
254 pub const WAVE_FORMAT_POLYCOM_G729_A: WORD = 0xA114;
255 pub const WAVE_FORMAT_POLYCOM_SIREN: WORD = 0xA115;
256 pub const WAVE_FORMAT_GLOBAL_IP_ILBC: WORD = 0xA116;
257 pub const WAVE_FORMAT_RADIOTIME_TIME_SHIFT_RADIO: WORD = 0xA117;
258 pub const WAVE_FORMAT_NICE_ACA: WORD = 0xA118;
259 pub const WAVE_FORMAT_NICE_ADPCM: WORD = 0xA119;
260 pub const WAVE_FORMAT_VOCORD_G721: WORD = 0xA11A;
261 pub const WAVE_FORMAT_VOCORD_G726: WORD = 0xA11B;
262 pub const WAVE_FORMAT_VOCORD_G722_1: WORD = 0xA11C;
263 pub const WAVE_FORMAT_VOCORD_G728: WORD = 0xA11D;
264 pub const WAVE_FORMAT_VOCORD_G729: WORD = 0xA11E;
265 pub const WAVE_FORMAT_VOCORD_G729_A: WORD = 0xA11F;
266 pub const WAVE_FORMAT_VOCORD_G723_1: WORD = 0xA120;
267 pub const WAVE_FORMAT_VOCORD_LBC: WORD = 0xA121;
268 pub const WAVE_FORMAT_NICE_G728: WORD = 0xA122;
269 pub const WAVE_FORMAT_FRACE_TELECOM_G729: WORD = 0xA123;
270 pub const WAVE_FORMAT_CODIAN: WORD = 0xA124;
271 pub const WAVE_FORMAT_FLAC: WORD = 0xF1AC;
272 pub const WAVE_FORMAT_EXTENSIBLE: WORD = 0xFFFE;
273 pub const WAVE_FORMAT_DEVELOPMENT: WORD = 0xFFFF;
274 //2557
275 pub const SPEAKER_FRONT_LEFT: DWORD = 0x1;
276 pub const SPEAKER_FRONT_RIGHT: DWORD = 0x2;
277 pub const SPEAKER_FRONT_CENTER: DWORD = 0x4;
278 pub const SPEAKER_LOW_FREQUENCY: DWORD = 0x8;
279 pub const SPEAKER_BACK_LEFT: DWORD = 0x10;
280 pub const SPEAKER_BACK_RIGHT: DWORD = 0x20;
281 pub const SPEAKER_FRONT_LEFT_OF_CENTER: DWORD = 0x40;
282 pub const SPEAKER_FRONT_RIGHT_OF_CENTER: DWORD = 0x80;
283 pub const SPEAKER_BACK_CENTER: DWORD = 0x100;
284 pub const SPEAKER_SIDE_LEFT: DWORD = 0x200;
285 pub const SPEAKER_SIDE_RIGHT: DWORD = 0x400;
286 pub const SPEAKER_TOP_CENTER: DWORD = 0x800;
287 pub const SPEAKER_TOP_FRONT_LEFT: DWORD = 0x1000;
288 pub const SPEAKER_TOP_FRONT_CENTER: DWORD = 0x2000;
289 pub const SPEAKER_TOP_FRONT_RIGHT: DWORD = 0x4000;
290 pub const SPEAKER_TOP_BACK_LEFT: DWORD = 0x8000;
291 pub const SPEAKER_TOP_BACK_CENTER: DWORD = 0x10000;
292 pub const SPEAKER_TOP_BACK_RIGHT: DWORD = 0x20000;
293 pub const SPEAKER_RESERVED: DWORD = 0x7FFC0000;
294 pub const SPEAKER_ALL: DWORD = 0x80000000;
295 STRUCT!{#[repr(packed)] struct WAVEFORMATEX {
296     wFormatTag: WORD,
297     nChannels: WORD,
298     nSamplesPerSec: DWORD,
299     nAvgBytesPerSec: DWORD,
300     nBlockAlign: WORD,
301     wBitsPerSample: WORD,
302     cbSize: WORD,
303 }}
304 STRUCT!{#[repr(packed)] struct WAVEFORMATEXTENSIBLE {
305     Format: WAVEFORMATEX,
306     Samples: WORD,
307     dwChannelMask: DWORD,
308     SubFormat: GUID,
309 }}
310