mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
ASoC: msm: qdsp6v2: Support to set session start delay
Update compress driver to support session start delay. Userspace can use this param to delay start of playback session. CRs-Fixed: 1112258 Change-Id: I0b31a4bae12f9f2b1f8a3e003909741529458772 Signed-off-by: Manish Dewangan <manish@codeaurora.org> Signed-off-by: Meng Wang <mwang@codeaurora.org>
This commit is contained in:
parent
d3976a6753
commit
a5b4e1830f
1 changed files with 3 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ struct snd_compr_audio_info {
|
|||
* @SNDRV_COMPRESS_RENDER_MODE: dsp render mode (audio master or stc)
|
||||
* @SNDRV_COMPRESS_CLK_REC_MODE: clock recovery mode ( none or auto)
|
||||
* @SNDRV_COMPRESS_RENDER_WINDOW: render window
|
||||
* @SNDRV_COMPRESS_START_DELAY: start delay
|
||||
*/
|
||||
enum sndrv_compress_encoder {
|
||||
SNDRV_COMPRESS_ENCODER_PADDING = 1,
|
||||
|
|
@ -165,6 +166,7 @@ enum sndrv_compress_encoder {
|
|||
SNDRV_COMPRESS_RENDER_MODE = 4,
|
||||
SNDRV_COMPRESS_CLK_REC_MODE = 5,
|
||||
SNDRV_COMPRESS_RENDER_WINDOW = 6,
|
||||
SNDRV_COMPRESS_START_DELAY = 7,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
@ -173,6 +175,7 @@ enum sndrv_compress_encoder {
|
|||
#define SNDRV_COMPRESS_RENDER_MODE SNDRV_COMPRESS_RENDER_MODE
|
||||
#define SNDRV_COMPRESS_CLK_REC_MODE SNDRV_COMPRESS_CLK_REC_MODE
|
||||
#define SNDRV_COMPRESS_RENDER_WINDOW SNDRV_COMPRESS_RENDER_WINDOW
|
||||
#define SNDRV_COMPRESS_START_DELAY SNDRV_COMPRESS_START_DELAY
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue