summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2014-01-17 17:03:56 +0000
committerMark Brown <broonie@linaro.org>2014-01-17 17:56:21 +0000
commit2a99ef0fdb35a0f8d6b56ccc5d9d821e9ff100c1 (patch)
tree1f3fd1808e8c7eb50185487186f42b13f893c4c7 /include/sound
parent23607025303af6e84bc2cd4cabe89c21f6a22a3f (diff)
downloadop-kernel-dev-2a99ef0fdb35a0f8d6b56ccc5d9d821e9ff100c1.zip
op-kernel-dev-2a99ef0fdb35a0f8d6b56ccc5d9d821e9ff100c1.tar.gz
ASoC: compress: Add suport for DPCM into compressed audio
Currently compressed audio streams are statically routed from the /dev to the DAI link. Some DSPs can route compressed data to multiple BE DAIs like they do for PCM data. Add support to allow dynamically routed compressed streams using the existing DPCM infrastructure. This patch adds special FE versions of the compressed ops that work out the runtime routing. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 1f741cb..c0c6700 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1029,6 +1029,7 @@ struct snd_soc_pcm_runtime {
/* Dynamic PCM BE runtime data */
struct snd_soc_dpcm_runtime dpcm[2];
+ int fe_compr;
long pmdown_time;
unsigned char pop_wait:1;
OpenPOWER on IntegriCloud