diff options
| author | Banajit Goswami <bgoswami@codeaurora.org> | 2015-04-10 17:58:42 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:10:29 -0700 |
| commit | 35b7cb1228246272c4ead4e74a3415843536f2f2 (patch) | |
| tree | 7dce1b6f8166dc87bb31b5b9040e853f2d86273c /include/uapi | |
| parent | a3447d8ba1cad13c043d04ba9d2d8d00f50292a2 (diff) | |
ASoC: msm: Add support for AC3 and EC3 playback in tunnel mode
Dolby surround1-DS1 module supports both Dolby Audio processing - post
processing and Dolby digital plus decoder in DSP. Add support for
AC3 and EC3 playback in tunnel mode so that DS1 is integrated and
functional end to end.
Change-Id: Iacb46cdfded16c9a5a9227a6ff4e072c61df2be8
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/sound/compress_params.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h index 475d7d9464e2..ae9ba693369d 100644 --- a/include/uapi/sound/compress_params.h +++ b/include/uapi/sound/compress_params.h @@ -88,7 +88,8 @@ #define SND_AUDIOCODEC_PASS_THROUGH ((__u32) 0x00000011) #define SND_AUDIOCODEC_MP2 ((__u32) 0x00000012) #define SND_AUDIOCODEC_DTS_LBR_PASS_THROUGH ((__u32) 0x00000013) -#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_DTS_LBR_PASS_THROUGH +#define SND_AUDIOCODEC_EAC3 ((__u32) 0x00000014) +#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_EAC3 /* * Profile and modes are listed with bit masks. This allows for a @@ -337,6 +338,13 @@ struct snd_dec_dts { __u8 *modelId; } __attribute__((packed, aligned(4))); +struct snd_dec_ddp { + __u32 params_length; + __u8 *params; + __u32 params_id[18]; + __u32 params_value[18]; +} __attribute__((packed, aligned(4))); + union snd_codec_options { struct snd_enc_wma wma; struct snd_enc_vorbis vorbis; @@ -344,6 +352,7 @@ union snd_codec_options { struct snd_enc_flac flac; struct snd_enc_generic generic; struct snd_dec_dts dts; + struct snd_dec_ddp ddp; } __attribute__((packed, aligned(4))); /** struct snd_codec_desc - description of codec capabilities |
