Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3817fdb8 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: qdsp6v2: Get path delay support in compress path"

parents b57987c3 9c6548e0
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -128,12 +128,20 @@ struct snd_compr_codec_caps {
 * end of the track
 * @SNDRV_COMPRESS_ENCODER_DELAY: no of samples inserted by the encoder at the
 * beginning of the track
 * @SNDRV_COMPRESS_PATH_DELAY: dsp path delay in microseconds
 */
enum sndrv_compress_encoder {
	SNDRV_COMPRESS_ENCODER_PADDING = 1,
	SNDRV_COMPRESS_ENCODER_DELAY = 2,
#ifdef CONFIG_AUDIO_QGKI
	SNDRV_COMPRESS_PATH_DELAY = 3,
#endif
};

#ifdef CONFIG_AUDIO_QGKI
#define SNDRV_COMPRESS_PATH_DELAY SNDRV_COMPRESS_PATH_DELAY
#endif

/**
 * struct snd_compr_metadata - compressed stream metadata
 * @key: key id