diff options
author | Ben Romberger <bromberg@codeaurora.org> | 2017-04-06 17:23:15 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-18 18:11:32 -0700 |
commit | 8f1e5633e3ec3ffc66963f0a53426238c6e7c6e3 (patch) | |
tree | c43dccd41d5c0651cbccfd52da6a3b002d5dbc10 /include/sound/q6asm-v2.h | |
parent | 5404e35069576a8cd8203065f60975e34a5f727b (diff) |
ASoC: msm: qdsp6v2: Add IEC61937 compressed HDMI pass-though
Add support for IEC61937 which is an audio packaging
standard used for compressed HDMI pass-through. Any
audio format can be sent through HDMI pass-through
formatted as IEC61937.
Change-Id: I09821add306e2aeae6530cecbac189471a55e589
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
Diffstat (limited to 'include/sound/q6asm-v2.h')
-rw-r--r-- | include/sound/q6asm-v2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/q6asm-v2.h b/include/sound/q6asm-v2.h index 42dd677610d9..1873e801552c 100644 --- a/include/sound/q6asm-v2.h +++ b/include/sound/q6asm-v2.h @@ -56,6 +56,7 @@ #define FORMAT_APTX 0x001e #define FORMAT_GEN_COMPR 0x001f #define FORMAT_TRUEHD 0x0020 +#define FORMAT_IEC61937 0x0021 #define ENCDEC_SBCBITRATE 0x0001 #define ENCDEC_IMMEDIATE_DECODE 0x0002 @@ -509,6 +510,10 @@ int q6asm_media_format_block_gen_compr( bool use_default_chmap, char *channel_map, uint16_t bits_per_sample); +int q6asm_media_format_block_iec( + struct audio_client *ac, + uint32_t rate, uint32_t channels); + int q6asm_media_format_block_multi_ch_pcm_v3(struct audio_client *ac, uint32_t rate, uint32_t channels, bool use_default_chmap, |