From 18e3977b99b469670c9039bee4acaf7e43f37bd4 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Fri, 29 Jan 2016 02:50:26 +0530 Subject: [PATCH] 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 Signed-off-by: Banajit Goswami Signed-off-by: Sudheer Papothi --- include/uapi/sound/compress_offload.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 @@ -122,6 +122,16 @@ struct snd_compr_codec_caps { struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS]; } __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