summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorSudheer Papothi <spapothi@codeaurora.org>2016-01-29 02:50:26 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:10:33 -0700
commit18e3977b99b469670c9039bee4acaf7e43f37bd4 (patch)
tree1f07bca17ee4a9b279c3e96e8a445d3842a933c7 /include/uapi
parent0d879df1d31598a2d3c58c74237267a2dd54e131 (diff)
ASoC: msm: Add compressed TX support
There is use case that the HDMI input goes through MI2S TX interface to ADSP. Add compressed TX support for this use case. Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/sound/compress_offload.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/sound/compress_offload.h b/include/uapi/sound/compress_offload.h
index 72ea8ec0bc75..55ca5593a51a 100644
--- a/include/uapi/sound/compress_offload.h
+++ b/include/uapi/sound/compress_offload.h
@@ -123,6 +123,16 @@ struct snd_compr_codec_caps {
} __attribute__((packed, aligned(4)));
/**
+ * struct snd_compr_audio_info: compressed input audio information
+ * @frame_size: legth of the encoded frame with valid data
+ * @reserved: reserved for furture use
+ */
+struct snd_compr_audio_info {
+ uint32_t frame_size;
+ uint32_t reserved[15];
+} __attribute__((packed, aligned(4)));
+
+/**
* enum sndrv_compress_encoder
* @SNDRV_COMPRESS_ENCODER_PADDING: no of samples appended by the encoder at the
* end of the track