summaryrefslogtreecommitdiff
path: root/include/sound/q6asm-v2.h
diff options
context:
space:
mode:
authorSiddartha Shaik <sshaik@codeaurora.org>2017-05-19 12:37:00 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-22 23:03:16 -0700
commit19fc81edfe5500ded5d6f8ad914b3943a91e7ea3 (patch)
treeb477a4e2954ffd96f698a86c97b970a2251d9dc1 /include/sound/q6asm-v2.h
parent60be71604a84d2e047215cb702d6324379a353bb (diff)
ASoC: msm: add q6asm api for transcode loopback support
Transcode loopback api can be used by client to configure compress loopback. CRs-fixed: 2049714 Change-Id: I7286fbdfa89375d517f3dad7d04e1d2a360d6f7e Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
Diffstat (limited to 'include/sound/q6asm-v2.h')
-rw-r--r--include/sound/q6asm-v2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/q6asm-v2.h b/include/sound/q6asm-v2.h
index 42dd677610d9..8f488d9de06d 100644
--- a/include/sound/q6asm-v2.h
+++ b/include/sound/q6asm-v2.h
@@ -318,6 +318,10 @@ int q6asm_open_read_write_v2(struct audio_client *ac, uint32_t rd_format,
int q6asm_open_loopback_v2(struct audio_client *ac,
uint16_t bits_per_sample);
+int q6asm_open_transcode_loopback(struct audio_client *ac,
+ uint16_t bits_per_sample, uint32_t source_format,
+ uint32_t sink_format);
+
int q6asm_write(struct audio_client *ac, uint32_t len, uint32_t msw_ts,
uint32_t lsw_ts, uint32_t flags);
int q6asm_write_nolock(struct audio_client *ac, uint32_t len, uint32_t msw_ts,