diff options
Diffstat (limited to 'apps/codecs/wav.c')
-rw-r--r-- | apps/codecs/wav.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs/wav.c b/apps/codecs/wav.c index 774cfaf8ef..25a82cbcfe 100644 --- a/apps/codecs/wav.c +++ b/apps/codecs/wav.c | |||
@@ -45,6 +45,7 @@ enum | |||
45 | { | 45 | { |
46 | WAVE_FORMAT_UNKNOWN = 0x0000, /* Microsoft Unknown Wave Format */ | 46 | WAVE_FORMAT_UNKNOWN = 0x0000, /* Microsoft Unknown Wave Format */ |
47 | WAVE_FORMAT_PCM = 0x0001, /* Microsoft PCM Format */ | 47 | WAVE_FORMAT_PCM = 0x0001, /* Microsoft PCM Format */ |
48 | WAVE_FORMAT_IEEE_FLOAT = 0x0003, /* IEEE Float */ | ||
48 | WAVE_FORMAT_ALAW = 0x0006, /* Microsoft ALAW */ | 49 | WAVE_FORMAT_ALAW = 0x0006, /* Microsoft ALAW */ |
49 | WAVE_FORMAT_MULAW = 0x0007, /* Microsoft MULAW */ | 50 | WAVE_FORMAT_MULAW = 0x0007, /* Microsoft MULAW */ |
50 | WAVE_FORMAT_DVI_ADPCM = 0x0011, /* Intel's DVI ADPCM */ | 51 | WAVE_FORMAT_DVI_ADPCM = 0x0011, /* Intel's DVI ADPCM */ |
@@ -56,6 +57,7 @@ enum | |||
56 | const struct pcm_entry wave_codecs[] = { | 57 | const struct pcm_entry wave_codecs[] = { |
57 | { WAVE_FORMAT_UNKNOWN, 0 }, | 58 | { WAVE_FORMAT_UNKNOWN, 0 }, |
58 | { WAVE_FORMAT_PCM, get_linear_pcm_codec }, | 59 | { WAVE_FORMAT_PCM, get_linear_pcm_codec }, |
60 | { WAVE_FORMAT_IEEE_FLOAT, get_ieee_float_codec }, | ||
59 | { WAVE_FORMAT_ALAW, get_itut_g711_alaw_codec }, | 61 | { WAVE_FORMAT_ALAW, get_itut_g711_alaw_codec }, |
60 | { WAVE_FORMAT_MULAW, get_itut_g711_mulaw_codec }, | 62 | { WAVE_FORMAT_MULAW, get_itut_g711_mulaw_codec }, |
61 | { WAVE_FORMAT_DVI_ADPCM, get_dvi_adpcm_codec }, | 63 | { WAVE_FORMAT_DVI_ADPCM, get_dvi_adpcm_codec }, |
@@ -63,7 +65,7 @@ const struct pcm_entry wave_codecs[] = { | |||
63 | { IBM_FORMAT_ALAW, get_itut_g711_alaw_codec }, | 65 | { IBM_FORMAT_ALAW, get_itut_g711_alaw_codec }, |
64 | }; | 66 | }; |
65 | 67 | ||
66 | #define NUM_FORMATS 7 | 68 | #define NUM_FORMATS 8 |
67 | 69 | ||
68 | static const struct pcm_codec *get_wave_codec(uint32_t formattag) | 70 | static const struct pcm_codec *get_wave_codec(uint32_t formattag) |
69 | { | 71 | { |