summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorBanajit Goswami <bgoswami@codeaurora.org>2015-04-10 17:55:33 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:10:26 -0700
commit93e5937bda7367139fb39293ccca80c0be729ef3 (patch)
treedca2d19afec7616c15782b32c3af16c2877e8fb2 /include/uapi
parentb07e54a825804d91363bf7a0ad4bc4e7dd445b82 (diff)
ASoC: msm : DTS security implementation
Receive DTS security modelId from userspace, and supply to Q6 core service. Change-Id: Ib50f3a81da60c92ceb5b521134cd3d1b6fb8e5cb Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/sound/compress_params.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h
index 016f380af0a8..942630bef542 100644
--- a/include/uapi/sound/compress_params.h
+++ b/include/uapi/sound/compress_params.h
@@ -330,12 +330,18 @@ struct snd_enc_generic {
__s32 reserved[15];
} __attribute__((packed, aligned(4)));
+struct snd_dec_dts {
+ __u32 modelIdLength;
+ __u8 *modelId;
+} __attribute__((packed, aligned(4)));
+
union snd_codec_options {
struct snd_enc_wma wma;
struct snd_enc_vorbis vorbis;
struct snd_enc_real real;
struct snd_enc_flac flac;
struct snd_enc_generic generic;
+ struct snd_dec_dts dts;
} __attribute__((packed, aligned(4)));
/** struct snd_codec_desc - description of codec capabilities