diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2020-07-27 10:38:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-08-17 18:29:38 +0100 |
commit | ee941a338ad67dfd852826eec381d8584edf29f2 (patch) | |
tree | 39f391943c55175d040135fac14d3aaa2471b4d8 /sound/soc/qcom/qdsp6/q6asm.h | |
parent | 5b39363e54ccca8fee700e5cc6acf42a80ff1de3 (diff) |
ASoC: q6asm-dai: add gapless support
Add support to gapless playback by implementing metadata,
next_track, drain and partial drain support.
Gapless on Q6ASM is implemented by opening 2 streams in a single
q6asm stream and toggling them on next track.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20200727093806.17089-10-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/qdsp6/q6asm.h')
-rw-r--r-- | sound/soc/qcom/qdsp6/q6asm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/qcom/qdsp6/q6asm.h b/sound/soc/qcom/qdsp6/q6asm.h index f20e1441988f..82e584aa534f 100644 --- a/sound/soc/qcom/qdsp6/q6asm.h +++ b/sound/soc/qcom/qdsp6/q6asm.h @@ -33,6 +33,7 @@ enum { #define MAX_SESSIONS 8 #define FORMAT_LINEAR_PCM 0x0000 +#define ASM_LAST_BUFFER_FLAG BIT(30) struct q6asm_flac_cfg { u32 sample_rate; |