arduino-audio-tools
AudioFormat.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 namespace audio_tools {
14 
19 enum class AudioFormat : uint16_t {
20  UNKNOWN = 0x0000, /* Microsoft Corporation */
21  PCM = 0x0001,
22  ADPCM = 0x0002, /* Microsoft Corporation */
23  IEEE_FLOAT = 0x0003, /* Microsoft Corporation */
24  // VSELP = 0x0004, /* Compaq Computer Corp. */
25  // IBM_CVSD = 0x0005, /* IBM Corporation */
26  ALAW = 0x0006, /* Microsoft Corporation */
27  MULAW = 0x0007, /* Microsoft Corporation */
28  // DTS = 0x0008, /* Microsoft Corporation */
29  // DRM = 0x0009, /* Microsoft Corporation */
30  // WMAVOICE9 = 0x000A, /* Microsoft Corporation */
31  // WMAVOICE10 = 0x000B, /* Microsoft Corporation */
32  OKI_ADPCM = 0x0010, /* OKI */
33  DVI_ADPCM = 0x0011, /* Intel Corporation */
34  //IMA_ADPCM(DVI_ADPCM), /* Intel Corporation */
35  MEDIASPACE_ADPCM = 0x0012, /* Videologic */
36  SIERRA_ADPCM = 0x0013, /* Sierra Semiconductor Corp */
37  G723_ADPCM = 0x0014, /* Antex Electronics Corporation */
38  // DIGISTD = 0x0015, /* DSP Solutions, Inc. */
39  // DIGIFIX = 0x0016, /* DSP Solutions, Inc. */
40  DIALOGIC_OKI_ADPCM = 0x0017, /* Dialogic Corporation */
41  MEDIAVISION_ADPCM = 0x0018, /* Media Vision, Inc. */
42  // CU_CODEC = 0x0019, /* Hewlett-Packard Company */
43  // HP_DYN_VOICE = 0x001A, /* Hewlett-Packard Company */
44  YAMAHA_ADPCM = 0x0020, /* Yamaha Corporation of America */
45  // SONARC = 0x0021, /* Speech Compression */
46  // DSPGROUP_TRUESPEECH = 0x0022, /* DSP Group, Inc */
47  // ECHOSC1 = 0x0023, /* Echo Speech Corporation */
48  // AUDIOFILE_AF36 = 0x0024, /* Virtual Music, Inc. */
49  // APTX = 0x0025, /* Audio Processing Technology */
50  // AUDIOFILE_AF10 = 0x0026, /* Virtual Music, Inc. */
51  // PROSODY_1612 = 0x0027, /* Aculab plc */
52  // LRC = 0x0028, /* Merging Technologies S.A. */
53  // DOLBY_AC2 = 0x0030, /* Dolby Laboratories */
54  // GSM610 = 0x0031, /* Microsoft Corporation */
55  // MSNAUDIO = 0x0032, /* Microsoft Corporation */
56  ANTEX_ADPCME = 0x0033, /* Antex Electronics Corporation */
57  // CONTROL_RES_VQLPC = 0x0034, /* Control Resources Limited */
58  // DIGIREAL = 0x0035, /* DSP Solutions, Inc. */
59  DIGIADPCM = 0x0036, /* DSP Solutions, Inc. */
60  // CONTROL_RES_CR10 = 0x0037, /* Control Resources Limited */
61  NMS_VBXADPCM = 0x0038, /* Natural MicroSystems */
62  CS_IMAADPCM = 0x0039, /* Crystal Semiconductor IMA ADPCM */
63  // ECHOSC3 = 0x003A, /* Echo Speech Corporation */
64  ROCKWELL_ADPCM = 0x003B, /* Rockwell International */
65  // ROCKWELL_DIGITALK = 0x003C, /* Rockwell International */
66  // XEBEC = 0x003D, /* Xebec Multimedia Solutions Limited */
67  G721_ADPCM = 0x0040, /* Antex Electronics Corporation */
68  // G728_CELP = 0x0041, /* Antex Electronics Corporation */
69  // MSG723 = 0x0042, /* Microsoft Corporation */
70  // INTEL_G723_1 = 0x0043, /* Intel Corp. */
71  // INTEL_G729 = 0x0044, /* Intel Corp. */
72  // SHARP_G726 = 0x0045, /* Sharp */
73  // MPEG = 0x0050, /* Microsoft Corporation */
74  // RT24 = 0x0052, /* InSoft, Inc. */
75  // PAC = 0x0053, /* InSoft, Inc. */
76  // MPEGLAYER3 = 0x0055, /* ISO/MPEG Layer3 Format Tag */
77  // LUCENT_G723 = 0x0059, /* Lucent Technologies */
78  // CIRRUS = 0x0060, /* Cirrus Logic */
79  // ESPCM = 0x0061, /* ESS Technology */
80  // VOXWARE = 0x0062, /* Voxware Inc */
81  // CANOPUS_ATRAC = 0x0063, /* Canopus, co., Ltd. */
82  G726_ADPCM = 0x0064, /* APICOM */
83  G722_ADPCM = 0x0065, /* APICOM */
84  // DSAT = 0x0066, /* Microsoft Corporation */
85  // DSAT_DISPLAY = 0x0067, /* Microsoft Corporation */
86  // VOXWARE_BYTE_ALIGNED = 0x0069, /* Voxware Inc */
87  // VOXWARE_AC8 = 0x0070, /* Voxware Inc */
88  // VOXWARE_AC10 = 0x0071, /* Voxware Inc */
89  // VOXWARE_AC16 = 0x0072, /* Voxware Inc */
90  // VOXWARE_AC20 = 0x0073, /* Voxware Inc */
91  // VOXWARE_RT24 = 0x0074, /* Voxware Inc */
92  // VOXWARE_RT29 = 0x0075, /* Voxware Inc */
93  // VOXWARE_RT29HW = 0x0076, /* Voxware Inc */
94  // VOXWARE_VR12 = 0x0077, /* Voxware Inc */
95  // VOXWARE_VR18 = 0x0078, /* Voxware Inc */
96  // VOXWARE_TQ40 = 0x0079, /* Voxware Inc */
97  // VOXWARE_SC3 = 0x007A, /* Voxware Inc */
98  // VOXWARE_SC3_1 = 0x007B, /* Voxware Inc */
99  // SOFTSOUND = 0x0080, /* Softsound, Ltd. */
100  // VOXWARE_TQ60 = 0x0081, /* Voxware Inc */
101  // MSRT24 = 0x0082, /* Microsoft Corporation */
102  // G729A = 0x0083, /* AT&T Labs, Inc. */
103  // MVI_MVI2 = 0x0084, /* Motion Pixels */
104  // DF_G726 = 0x0085, /* DataFusion Systems (Pty) (Ltd) */
105  // DF_GSM610 = 0x0086, /* DataFusion Systems (Pty) (Ltd) */
106  // ISIAUDIO = 0x0088, /* Iterated Systems, Inc. */
107  // ONLIVE = 0x0089, /* OnLive! Technologies, Inc. */
108  // MULTITUDE_FT_SX20 = 0x008A, /* Multitude Inc. */
109  INFOCOM_ITS_G721_ADPCM = 0x008B, /* Infocom */
110  // CONVEDIA_G729 = 0x008C, /* Convedia Corp. */
111  // CONGRUENCY = 0x008D, /* Congruency Inc. */
112  // SBC24 = 0x0091, /* Siemens Business Communications Sys */
113  // DOLBY_AC3_SPDIF = 0x0092, /* Sonic Foundry */
114  // MEDIASONIC_G723 = 0x0093, /* MediaSonic */
115  // PROSODY_8KBPS = 0x0094, /* Aculab plc */
116  ZYXEL_ADPCM = 0x0097, /* ZyXEL Communications, Inc. */
117  // PHILIPS_LPCBB = 0x0098, /* Philips Speech Processing */
118  // PACKED = 0x0099, /* Studer Professional Audio AG */
119  // MALDEN_PHONYTALK = 0x00A0, /* Malden Electronics Ltd. */
120  // RACAL_RECORDER_GSM = 0x00A1, /* Racal recorders */
121  // RACAL_RECORDER_G720_A = 0x00A2, /* Racal recorders */
122  // RACAL_RECORDER_G723_1 = 0x00A3, /* Racal recorders */
123  // RACAL_RECORDER_TETRA_ACELP = 0x00A4, /* Racal recorders */
124  // NEC_AAC = 0x00B0, /* NEC Corp. */
125  // RAW_AAC1 = 0x00FF, /* For Raw AAC, with format block
126  RHETOREX_ADPCM = 0x0100, /* Rhetorex Inc. */
127  // IRAT = 0x0101, /* BeCubed Software Inc. */
128  // VIVO_G723 = 0x0111, /* Vivo Software */
129  // VIVO_SIREN = 0x0112, /* Vivo Software */
130  // PHILIPS_CELP = 0x0120, /* Philips Speech Processing */
131  // PHILIPS_GRUNDIG = 0x0121, /* Philips Speech Processing */
132  // DIGITAL_G723 = 0x0123, /* Digital Equipment Corporation */
133  SANYO_LD_ADPCM = 0x0125, /* Sanyo Electric Co., Ltd. */
134  // SIPROLAB_ACEPLNET = 0x0130, /* Sipro Lab Telecom Inc. */
135  // SIPROLAB_ACELP4800 = 0x0131, /* Sipro Lab Telecom Inc. */
136  // SIPROLAB_ACELP8V3 = 0x0132, /* Sipro Lab Telecom Inc. */
137  // SIPROLAB_G729 = 0x0133, /* Sipro Lab Telecom Inc. */
138  // SIPROLAB_G729A = 0x0134, /* Sipro Lab Telecom Inc. */
139  // SIPROLAB_KELVIN = 0x0135, /* Sipro Lab Telecom Inc. */
140  // VOICEAGE_AMR = 0x0136, /* VoiceAge Corp. */
141  G726ADPCM = 0x0140, /* Dictaphone Corporation */
142  // DICTAPHONE_CELP68 = 0x0141, /* Dictaphone Corporation */
143  // DICTAPHONE_CELP54 = 0x0142, /* Dictaphone Corporation */
144  // QUALCOMM_PUREVOICE = 0x0150, /* Qualcomm, Inc. */
145  // QUALCOMM_HALFRATE = 0x0151, /* Qualcomm, Inc. */
146  // TUBGSM = 0x0155, /* Ring Zero Systems, Inc. */
147  // MSAUDIO1 = 0x0160, /* Microsoft Corporation */
148  // WMAUDIO2 = 0x0161, /* Microsoft Corporation */
149  // WMAUDIO3 = 0x0162, /* Microsoft Corporation */
150  // WMAUDIO_LOSSLESS = 0x0163, /* Microsoft Corporation */
151  // WMASPDIF = 0x0164, /* Microsoft Corporation */
152  UNISYS_NAP_ADPCM = 0x0170, /* Unisys Corp. */
153  // UNISYS_NAP_ULAW = 0x0171, /* Unisys Corp. */
154  // UNISYS_NAP_ALAW = 0x0172, /* Unisys Corp. */
155  // UNISYS_NAP_16K = 0x0173, /* Unisys Corp. */
156  // SYCOM_ACM_SYC008 = 0x0174, /* SyCom Technologies */
157  // SYCOM_ACM_SYC701_G726L = 0x0175, /* SyCom Technologies */
158  // SYCOM_ACM_SYC701_CELP54 = 0x0176, /* SyCom Technologies */
159  // SYCOM_ACM_SYC701_CELP68 = 0x0177, /* SyCom Technologies */
160  // KNOWLEDGE_ADVENTURE_ADPCM = 0x0178, /* Knowledge Adventure, Inc.*/
161  // FRAUNHOFER_IIS_MPEG2_AAC = 0x0180, /* Fraunhofer IIS */
162  // DTS_DS = 0x0190, /* Digital Theatre Systems, Inc. */
163  // CREATIVE_ADPCM = 0x0200, /* Creative Labs, Inc */
164  // CREATIVE_FASTSPEECH8 = 0x0202, /* Creative Labs, Inc */
165  // CREATIVE_FASTSPEECH10 = 0x0203, /* Creative Labs, Inc */
166  // UHER_ADPCM = 0x0210, /* UHER informatic GmbH */
167  // ULEAD_DV_AUDIO = 0x0215, /* Ulead Systems, Inc. */
168  // ULEAD_DV_AUDIO_1 = 0x0216, /* Ulead Systems, Inc. */
169  // QUARTERDECK = 0x0220, /* Quarterdeck Corporation */
170  // ILINK_VC = 0x0230, /* I-link Worldwide */
171  // RAW_SPORT = 0x0240, /* Aureal Semiconductor */
172  // ESST_AC3 = 0x0241, /* ESS Technology, Inc. */
173  // GENERIC_PASSTHRU = 0x0249,
174  // IPI_HSX = 0x0250, /* Interactive Products, Inc. */
175  // IPI_RPELP = 0x0251, /* Interactive Products, Inc. */
176  // CS2 = 0x0260, /* Consistent Software */
177  // SONY_SCX = 0x0270, /* Sony Corp. */
178  // SONY_SCY = 0x0271, /* Sony Corp. */
179  // SONY_ATRAC3 = 0x0272, /* Sony Corp. */
180  // SONY_SPC = 0x0273, /* Sony Corp. */
181  // TELUM_AUDIO = 0x0280, /* Telum Inc. */
182  // TELUM_IA_AUDIO = 0x0281, /* Telum Inc. */
183  // NORCOM_VOICE_SYSTEMS_ADPCM = 0x0285, /* Norcom Electronics Corp.*/
184  // FM_TOWNS_SND = 0x0300, /* Fujitsu Corp. */
185  // MICRONAS = 0x0350, /* Micronas Semiconductors, Inc. */
186  // MICRONAS_CELP833 = 0x0351, /* Micronas Semiconductors, Inc. */
187  // BTV_DIGITAL = 0x0400, /* Brooktree Corporation */
188  // INTEL_MUSIC_CODER = 0x0401, /* Intel Corp. */
189  // INDEO_AUDIO = 0x0402, /* Ligo */
190  // QDESIGN_MUSIC = 0x0450, /* QDeign Corporation */
191  // ON2_VP7_AUDIO = 0x0500, /* On2 echnologies */
192  // ON2_VP6_AUDIO = 0x0501, /* On2 Tchnologies */
193  // VME_VMPCM = 0x0680, /* AT&T Labs,Inc. */
194  // TPC = 0x0681, /* AT&T Labs, Inc. *
195  // LIGHTWAVE_LOSSLESS = 0x08AE, /* Clerjump */
196  // OLIGSM = 0x1000, /* Ing C. Olivetti C., S.p.A. */
197  // OLIADPCM = 0x1001, /* Ing C. Olivetti& C., S.p.A.*/
198  // OLICELP = 0x1002, /* Ing C. Olivetti &C., S.p.A. */
199  // OLISBC = 0x1003, /* Ing C. Olivetti & C, S.p.A. */
200  // OLIOPR = 0x1004, /* Ing C. Olivetti & C. S.p.A. */
201  // LH_CODEC = 0x1100, /* Lernout & Hauspie *
202  // LH_CODEC_CELP = 0x1101, /* Lernout & Hauspie *
203  // LH_CODEC_SBC8 = 0x1102, /* Lernout & Hauspie */
204  // LH_CODEC_SBC12 = 0x1103, /* Lernout & Hauspie */
205  // LH_CODEC_SBC16 = 0x1104, /* Lernout & Hauspie */
206  // NORRIS = 0x1400, /* Norris Communications, Inc. */
207  // ISIAUDIO_2 = 0x1401, /* ISIAudio */
208  // SOUNDSPACE_MUSICOMPRESS = 0x1500, /* AT&T Labs, Inc. */
209  // MPEG_ADTS_AAC = 0x1600, /* Microsoft Corporation */
210  // MPEG_RAW_AAC = 0x1601, /* Microsoft Corporation */
211  // MPEG_LOAS = 0x1602, /* Microsoft Corporation (MPEG-4 Audio Transport Streams (LOAS/LATM)
212  // NOKIA_MPEG_ADTS_AAC = 0x1608, /* Microsoft Corporation */
213  // NOKIA_MPEG_RAW_AAC = 0x1609, /* Microsoft Corporation */
214  // VODAFONE_MPEG_ADTS_AAC = 0x160A, /* Microsoft Corporation */
215  // VODAFONE_MPEG_RAW_AAC = 0x160B, /* Microsoft Corporation */
216  // MPEG_HEAAC =
217  // 0x1610, /* Microsoft Corporation (MPEG-2 AAC or MPEG-4 HE-AAC
218  // v1/v2 streams with any payload (ADTS, ADIF, LOAS/LATM, RAW). Format block
219  // icludes MP4 AudioSpecificConfig() -- see HEAACWAVEFORMAT below
220  // */
221  // VOXWARE_RT24_SPEECH = 0x181C, /* Voxware Inc. */
222  // SONICFOUNDRY_LOSSLESS = 0x1971, /* Sonic Foundry */
223  // INNINGS_TELECOM_ADPCM = 0x1979, /* Innings Telecom Inc. */
224  // LUCENT_SX8300P = 0x1C07, /* Lucent Technologies */
225  // LUCENT_SX5363S = 0x1C0C, /* Lucent Technologies */
226  // CUSEEME = 0x1F03, /* CUSeeMe */
227  // NTCSOFT_ALF2CM_ACM = 0x1FC4, /* NTCSoft */
228  // DVM = 0x2000, /* FAST Multimedia AG */
229  // DTS2 = 0x2001,
230  // MAKEAVIS = 0x3313,
231  // DIVIO_MPEG4_AAC = 0x4143, /* Divio, Inc. */
232  // NOKIA_ADAPTIVE_MULTIRATE = 0x4201, /* Nokia */
233  // DIVIO_G726 = 0x4243, /* Divio, Inc. */
234  // LEAD_SPEECH = 0x434C, /* LEAD Technologies */
235  // LEAD_VORBIS = 0x564C, /* LEAD Technologies */
236  // WAVPACK_AUDIO = 0x5756, /* xiph.org */
237  // ALAC = 0x6C61, /* Apple Lossless */
238  // OGG_VORBIS_MODE_1 = 0x674F, /* Ogg Vorbis */
239  // OGG_VORBIS_MODE_2 = 0x6750, /* Ogg Vorbis */
240  // OGG_VORBIS_MODE_3 = 0x6751, /* Ogg Vorbis */
241  // OGG_VORBIS_MODE_1_PLUS = 0x676F, /* Ogg Vorbis */
242  // OGG_VORBIS_MODE_2_PLUS = 0x6770, /* Ogg Vorbis */
243  // OGG_VORBIS_MODE_3_PLUS = 0x6771, /* Ogg Vorbis */
244  // F3COM_NBX = 0x7000, /* 3COM Corp. */
245  // OPUS = 0x704F, /* Opus */
246  // FAAD_AAC = 0x706D,
247  // AMR_NB = 0x7361, /* AMR Narrowband */
248  // AMR_WB = 0x7362, /* AMR Wideband */
249  // AMR_WP = 0x7363, /* AMR Wideband Plus */
250  // GSM_AMR_CBR = 0x7A21, /* GSMA/3GPP */
251  // GSM_AMR_VBR_SID = 0x7A22, /* GSMA/3GPP */
252  // COMVERSE_INFOSYS_G723_1 = 0xA100, /* Comverse Infosys */
253  // COMVERSE_INFOSYS_AVQSBC = 0xA101, /* Comverse Infosys */
254  // COMVERSE_INFOSYS_SBC = 0xA102, /* Comverse Infosys */
255  // SYMBOL_G729_A = 0xA103, /* Symbol Technologies */
256  // VOICEAGE_AMR_WB = 0xA104, /* VoiceAge Corp. */
257  // INGENIENT_G726 = 0xA105, /* Ingenient Technologies, Inc. */
258  // MPEG4_AAC = 0xA106, /* ISO/MPEG-4 */
259  // ENCORE_G726 = 0xA107, /* Encore Software */
260  // ZOLL_ASAO = 0xA108, /* ZOLL Medical Corp. */
261  // SPEEX_VOICE = 0xA109, /* xiph.org */
262  // VIANIX_MASC = 0xA10A, /* Vianix LLC */
263  // WM9_SPECTRUM_ANALYZER = 0xA10B, /* Microsoft */
264  // WMF_SPECTRUM_ANAYZER = 0xA10C, /* Microsoft */
265  // GSM_610 = 0xA0D,
266  // GSM_620 = 0xA1E,
267  // GSM_660 = 0xA10,
268  // GSM_690 = 0xA110,
269  // GSM_ADAPTIVE_MULTIRATE_WB = 0xA111,
270  // POLYCOM_G722 = 0xA112 ,/* Polycom */
271  // POLYCOM_G728 = 0xA113, /* Polycom */
272  // POLYCOM_G729_A = 0xA114, /* Polycom */
273  // POLYCOM_SIREN = 0xA115, /* Polycom */
274  // GLOBAL_IP_ILBC = 0xA116, /* Global IP */
275  // RADIOTIME_TIME_SHIFT_RADIO = 0xA117, /* RadioTime */
276  // NICE_ACA = 0xA118, /* Nice Systems */
277  // NICE_ADPCM = 0xA119, /* Nice Systems */
278  // VOCORD_G721 = 0xA11A, /* Vocord Telecom */
279  // VOCORD_G726 = 0xA11B, /* Vocord Telecom */
280  // VOCORD_G722_1 = 0xA11C, /* Vocord Telecom */
281  // VOCORD_G728 = 0xA11D, /* Vocord Telecom */
282  // VOCORD_G729 = 0xA11E, /* Vocord Telecom */
283  // VOCORD_G729_A = 0xA11F, /* Vocord Telecom */
284  // VOCORD_G723_1 = 0xA120, /* Vocord Telecom */
285  // VOCORD_LBC = 0xA121, /* Vocord Telecom */
286  // NICE_G728 = 0xA122, /* Nice Systems */
287  // FRACE_TELECOM_G729 = 0xA123, /* France Telecom */
288  // CODIAN = 0xA124, /* CODIAN */
289  // FLAC = 0xF1AC, /* flac.sourceforge.net */
290 };
291 
292 }
AudioFormat
Audio format codes used by Microsoft e.g. in avi or wav files.
Definition: AudioFormat.h:19
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition: AudioConfig.h:868