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