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>
This commit is contained in:
parent
0d879df1d3
commit
18e3977b99
1 changed files with 10 additions and 0 deletions
|
@ -122,6 +122,16 @@ struct snd_compr_codec_caps {
|
||||||
struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS];
|
struct snd_codec_desc descriptor[MAX_NUM_CODEC_DESCRIPTORS];
|
||||||
} __attribute__((packed, aligned(4)));
|
} __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
|
* enum sndrv_compress_encoder
|
||||||
* @SNDRV_COMPRESS_ENCODER_PADDING: no of samples appended by the encoder at the
|
* @SNDRV_COMPRESS_ENCODER_PADDING: no of samples appended by the encoder at the
|
||||||
|
|
Loading…
Add table
Reference in a new issue