1/*
2Copyright (c) 2012, Broadcom Europe Ltd
3All rights reserved.
4
5Redistribution and use in source and binary forms, with or without
6modification, are permitted provided that the following conditions are met:
7 * Redistributions of source code must retain the above copyright
8 notice, this list of conditions and the following disclaimer.
9 * Redistributions in binary form must reproduce the above copyright
10 notice, this list of conditions and the following disclaimer in the
11 documentation and/or other materials provided with the distribution.
12 * Neither the name of the copyright holder nor the
13 names of its contributors may be used to endorse or promote products
14 derived from this software without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
20DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26*/
27#ifndef VC_CONTAINERS_WAVEFORMAT_H
28#define VC_CONTAINERS_WAVEFORMAT_H
29
30/* WAVE form wFormatTag IDs */
31#define WAVE_FORMAT_UNKNOWN 0x0000 /* Microsoft Corporation */
32#define WAVE_FORMAT_ADPCM 0x0002 /* Microsoft Corporation */
33#define WAVE_FORMAT_IEEE_FLOAT 0x0003 /* Microsoft Corporation */
34#define WAVE_FORMAT_VSELP 0x0004 /* Compaq Computer Corp. */
35#define WAVE_FORMAT_IBM_CVSD 0x0005 /* IBM Corporation */
36#define WAVE_FORMAT_ALAW 0x0006 /* Microsoft Corporation */
37#define WAVE_FORMAT_MULAW 0x0007 /* Microsoft Corporation */
38#define WAVE_FORMAT_DTS 0x0008 /* Microsoft Corporation */
39#define WAVE_FORMAT_DRM 0x0009 /* Microsoft Corporation */
40#define WAVE_FORMAT_WMAUDIO_VOICE 0x000A /* Microsoft Corporation */
41#define WAVE_FORMAT_OKI_ADPCM 0x0010 /* OKI */
42#define WAVE_FORMAT_DVI_ADPCM 0x0011 /* Intel Corporation */
43#define WAVE_FORMAT_IMA_ADPCM (WAVE_FORMAT_DVI_ADPCM) /* Intel Corporation */
44#define WAVE_FORMAT_MEDIASPACE_ADPCM 0x0012 /* Videologic */
45#define WAVE_FORMAT_SIERRA_ADPCM 0x0013 /* Sierra Semiconductor Corp */
46#define WAVE_FORMAT_G723_ADPCM 0x0014 /* Antex Electronics Corporation */
47#define WAVE_FORMAT_DIGISTD 0x0015 /* DSP Solutions, Inc. */
48#define WAVE_FORMAT_DIGIFIX 0x0016 /* DSP Solutions, Inc. */
49#define WAVE_FORMAT_DIALOGIC_OKI_ADPCM 0x0017 /* Dialogic Corporation */
50#define WAVE_FORMAT_MEDIAVISION_ADPCM 0x0018 /* Media Vision, Inc. */
51#define WAVE_FORMAT_CU_CODEC 0x0019 /* Hewlett-Packard Company */
52#define WAVE_FORMAT_YAMAHA_ADPCM 0x0020 /* Yamaha Corporation of America */
53#define WAVE_FORMAT_SONARC 0x0021 /* Speech Compression */
54#define WAVE_FORMAT_DSPGROUP_TRUESPEECH 0x0022 /* DSP Group, Inc */
55#define WAVE_FORMAT_ECHOSC1 0x0023 /* Echo Speech Corporation */
56#define WAVE_FORMAT_AUDIOFILE_AF36 0x0024 /* Virtual Music, Inc. */
57#define WAVE_FORMAT_APTX 0x0025 /* Audio Processing Technology */
58#define WAVE_FORMAT_AUDIOFILE_AF10 0x0026 /* Virtual Music, Inc. */
59#define WAVE_FORMAT_PROSODY_1612 0x0027 /* Aculab plc */
60#define WAVE_FORMAT_LRC 0x0028 /* Merging Technologies S.A. */
61#define WAVE_FORMAT_DOLBY_AC2 0x0030 /* Dolby Laboratories */
62#define WAVE_FORMAT_GSM610 0x0031 /* Microsoft Corporation */
63#define WAVE_FORMAT_MSNAUDIO 0x0032 /* Microsoft Corporation */
64#define WAVE_FORMAT_ANTEX_ADPCME 0x0033 /* Antex Electronics Corporation */
65#define WAVE_FORMAT_CONTROL_RES_VQLPC 0x0034 /* Control Resources Limited */
66#define WAVE_FORMAT_DIGIREAL 0x0035 /* DSP Solutions, Inc. */
67#define WAVE_FORMAT_DIGIADPCM 0x0036 /* DSP Solutions, Inc. */
68#define WAVE_FORMAT_CONTROL_RES_CR10 0x0037 /* Control Resources Limited */
69#define WAVE_FORMAT_NMS_VBXADPCM 0x0038 /* Natural MicroSystems */
70#define WAVE_FORMAT_CS_IMAADPCM 0x0039 /* Crystal Semiconductor IMA ADPCM */
71#define WAVE_FORMAT_ECHOSC3 0x003A /* Echo Speech Corporation */
72#define WAVE_FORMAT_ROCKWELL_ADPCM 0x003B /* Rockwell International */
73#define WAVE_FORMAT_ROCKWELL_DIGITALK 0x003C /* Rockwell International */
74#define WAVE_FORMAT_XEBEC 0x003D /* Xebec Multimedia Solutions Limited */
75#define WAVE_FORMAT_G721_ADPCM 0x0040 /* Antex Electronics Corporation */
76#define WAVE_FORMAT_G728_CELP 0x0041 /* Antex Electronics Corporation */
77#define WAVE_FORMAT_MSG723 0x0042 /* Microsoft Corporation */
78#define WAVE_FORMAT_PANASONIC_G726 0x0045 /* Not official Panasonic G.726 codec */
79#define WAVE_FORMAT_MPEG 0x0050 /* Microsoft Corporation */
80#define WAVE_FORMAT_RT24 0x0052 /* InSoft, Inc. */
81#define WAVE_FORMAT_PAC 0x0053 /* InSoft, Inc. */
82#define WAVE_FORMAT_MPEGLAYER3 0x0055 /* ISO/MPEG Layer3 Format Tag */
83#define WAVE_FORMAT_LUCENT_G723 0x0059 /* Lucent Technologies */
84#define WAVE_FORMAT_CIRRUS 0x0060 /* Cirrus Logic */
85#define WAVE_FORMAT_ESPCM 0x0061 /* ESS Technology */
86#define WAVE_FORMAT_VOXWARE 0x0062 /* Voxware Inc */
87#define WAVE_FORMAT_CANOPUS_ATRAC 0x0063 /* Canopus, co., Ltd. */
88#define WAVE_FORMAT_G726_ADPCM 0x0064 /* APICOM */
89#define WAVE_FORMAT_G722_ADPCM 0x0065 /* APICOM */
90#define WAVE_FORMAT_DSAT_DISPLAY 0x0067 /* Microsoft Corporation */
91#define WAVE_FORMAT_VOXWARE_BYTE_ALIGNED 0x0069 /* Voxware Inc */
92#define WAVE_FORMAT_VOXWARE_AC8 0x0070 /* Voxware Inc */
93#define WAVE_FORMAT_VOXWARE_AC10 0x0071 /* Voxware Inc */
94#define WAVE_FORMAT_VOXWARE_AC16 0x0072 /* Voxware Inc */
95#define WAVE_FORMAT_VOXWARE_AC20 0x0073 /* Voxware Inc */
96#define WAVE_FORMAT_VOXWARE_RT24 0x0074 /* Voxware Inc */
97#define WAVE_FORMAT_VOXWARE_RT29 0x0075 /* Voxware Inc */
98#define WAVE_FORMAT_VOXWARE_RT29HW 0x0076 /* Voxware Inc */
99#define WAVE_FORMAT_VOXWARE_VR12 0x0077 /* Voxware Inc */
100#define WAVE_FORMAT_VOXWARE_VR18 0x0078 /* Voxware Inc */
101#define WAVE_FORMAT_VOXWARE_TQ40 0x0079 /* Voxware Inc */
102#define WAVE_FORMAT_SOFTSOUND 0x0080 /* Softsound, Ltd. */
103#define WAVE_FORMAT_VOXWARE_TQ60 0x0081 /* Voxware Inc */
104#define WAVE_FORMAT_MSRT24 0x0082 /* Microsoft Corporation */
105#define WAVE_FORMAT_G729A 0x0083 /* AT&T Labs, Inc. */
106#define WAVE_FORMAT_MVI_MVI2 0x0084 /* Motion Pixels */
107#define WAVE_FORMAT_DF_G726 0x0085 /* DataFusion Systems (Pty) (Ltd) */
108#define WAVE_FORMAT_DF_GSM610 0x0086 /* DataFusion Systems (Pty) (Ltd) */
109#define WAVE_FORMAT_ISIAUDIO 0x0088 /* Iterated Systems, Inc. */
110#define WAVE_FORMAT_ONLIVE 0x0089 /* OnLive! Technologies, Inc. */
111#define WAVE_FORMAT_SBC24 0x0091 /* Siemens Business Communications Sys */
112#define WAVE_FORMAT_DOLBY_AC3_SPDIF 0x0092 /* Sonic Foundry */
113#define WAVE_FORMAT_MEDIASONIC_G723 0x0093 /* MediaSonic */
114#define WAVE_FORMAT_PROSODY_8KBPS 0x0094 /* Aculab plc */
115#define WAVE_FORMAT_ZYXEL_ADPCM 0x0097 /* ZyXEL Communications, Inc. */
116#define WAVE_FORMAT_PHILIPS_LPCBB 0x0098 /* Philips Speech Processing */
117#define WAVE_FORMAT_PACKED 0x0099 /* Studer Professional Audio AG */
118#define WAVE_FORMAT_MALDEN_PHONYTALK 0x00A0 /* Malden Electronics Ltd. */
119#define WAVE_FORMAT_MP4A 0x00FF /* AAC */
120#define WAVE_FORMAT_RHETOREX_ADPCM 0x0100 /* Rhetorex Inc. */
121#define WAVE_FORMAT_IRAT 0x0101 /* BeCubed Software Inc. */
122#define WAVE_FORMAT_VIVO_G723 0x0111 /* Vivo Software */
123#define WAVE_FORMAT_VIVO_SIREN 0x0112 /* Vivo Software */
124#define WAVE_FORMAT_DIGITAL_G723 0x0123 /* Digital Equipment Corporation */
125#define WAVE_FORMAT_SANYO_LD_ADPCM 0x0125 /* Sanyo Electric Co., Ltd. */
126#define WAVE_FORMAT_SIPROLAB_ACEPLNET 0x0130 /* Sipro Lab Telecom Inc. */
127#define WAVE_FORMAT_SIPROLAB_ACELP4800 0x0131 /* Sipro Lab Telecom Inc. */
128#define WAVE_FORMAT_SIPROLAB_ACELP8V3 0x0132 /* Sipro Lab Telecom Inc. */
129#define WAVE_FORMAT_SIPROLAB_G729 0x0133 /* Sipro Lab Telecom Inc. */
130#define WAVE_FORMAT_SIPROLAB_G729A 0x0134 /* Sipro Lab Telecom Inc. */
131#define WAVE_FORMAT_SIPROLAB_KELVIN 0x0135 /* Sipro Lab Telecom Inc. */
132#define WAVE_FORMAT_G726ADPCM 0x0140 /* Dictaphone Corporation */
133#define WAVE_FORMAT_QUALCOMM_PUREVOICE 0x0150 /* Qualcomm, Inc. */
134#define WAVE_FORMAT_QUALCOMM_HALFRATE 0x0151 /* Qualcomm, Inc. */
135#define WAVE_FORMAT_TUBGSM 0x0155 /* Ring Zero Systems, Inc. */
136#define WAVE_FORMAT_WMAUDIO1 0x0160 /* Microsoft Corporation */
137#define WAVE_FORMAT_WMAUDIO2 0x0161 /* Microsoft Corporation */
138#define WAVE_FORMAT_WMAUDIOPRO 0x0162 /* Microsoft Corporation */
139#define WAVE_FORMAT_WMAUDIO_LOSSLESS 0x0163 /* Microsoft Corporation */
140#define WAVE_FORMAT_UNISYS_NAP_ADPCM 0x0170 /* Unisys Corp. */
141#define WAVE_FORMAT_UNISYS_NAP_ULAW 0x0171 /* Unisys Corp. */
142#define WAVE_FORMAT_UNISYS_NAP_ALAW 0x0172 /* Unisys Corp. */
143#define WAVE_FORMAT_UNISYS_NAP_16K 0x0173 /* Unisys Corp. */
144#define WAVE_FORMAT_CREATIVE_ADPCM 0x0200 /* Creative Labs, Inc */
145#define WAVE_FORMAT_CREATIVE_FASTSPEECH8 0x0202 /* Creative Labs, Inc */
146#define WAVE_FORMAT_CREATIVE_FASTSPEECH10 0x0203 /* Creative Labs, Inc */
147#define WAVE_FORMAT_UHER_ADPCM 0x0210 /* UHER informatic GmbH */
148#define WAVE_FORMAT_QUARTERDECK 0x0220 /* Quarterdeck Corporation */
149#define WAVE_FORMAT_ILINK_VC 0x0230 /* I-link Worldwide */
150#define WAVE_FORMAT_RAW_SPORT 0x0240 /* Aureal Semiconductor */
151#define WAVE_FORMAT_ESST_AC3 0x0241 /* ESS Technology, Inc. */
152#define WAVE_FORMAT_IPI_HSX 0x0250 /* Interactive Products, Inc. */
153#define WAVE_FORMAT_IPI_RPELP 0x0251 /* Interactive Products, Inc. */
154#define WAVE_FORMAT_CS2 0x0260 /* Consistent Software */
155#define WAVE_FORMAT_SONY_SCX 0x0270 /* Sony Corp. */
156#define WAVE_FORMAT_FM_TOWNS_SND 0x0300 /* Fujitsu Corp. */
157#define WAVE_FORMAT_BTV_DIGITAL 0x0400 /* Brooktree Corporation */
158#define WAVE_FORMAT_QDESIGN_MUSIC 0x0450 /* QDesign Corporation */
159#define WAVE_FORMAT_VME_VMPCM 0x0680 /* AT&T Labs, Inc. */
160#define WAVE_FORMAT_TPC 0x0681 /* AT&T Labs, Inc. */
161#define WAVE_FORMAT_OLIGSM 0x1000 /* Ing C. Olivetti & C., S.p.A. */
162#define WAVE_FORMAT_OLIADPCM 0x1001 /* Ing C. Olivetti & C., S.p.A. */
163#define WAVE_FORMAT_OLICELP 0x1002 /* Ing C. Olivetti & C., S.p.A. */
164#define WAVE_FORMAT_OLISBC 0x1003 /* Ing C. Olivetti & C., S.p.A. */
165#define WAVE_FORMAT_OLIOPR 0x1004 /* Ing C. Olivetti & C., S.p.A. */
166#define WAVE_FORMAT_LH_CODEC 0x1100 /* Lernout & Hauspie */
167#define WAVE_FORMAT_NORRIS 0x1400 /* Norris Communications, Inc. */
168#define WAVE_FORMAT_SOUNDSPACE_MUSICOMPRESS 0x1500 /* AT&T Labs, Inc. */
169#define WAVE_FORMAT_DVM 0x2000 /* FAST Multimedia AG */
170#define WAVE_FORMAT_AAC 0x706D /* AAC */
171
172#if !defined(WAVE_FORMAT_EXTENSIBLE)
173#define WAVE_FORMAT_EXTENSIBLE 0xFFFE /* Microsoft */
174#endif // !defined(WAVE_FORMAT_EXTENSIBLE)
175
176#if !defined(WAVE_FORMAT_PCM)
177#define WAVE_FORMAT_PCM 0x0001
178#endif // !defined(WAVE_FORMAT_PCM)
179
180#endif /* VC_CONTAINERS_WAVEFORMAT_H */
181