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 configure render window
Update compress driver to support configuration of DSP render window. Render window is used by DSP to take rendering decision. i.e whether input frame should be rendered, dropped or repeated. CRs-Fixed: 1112258 Change-Id: Ib1b9100ab87878d2e2da93e2b86ca68fb9dd97a9 Signed-off-by: Manish Dewangan <manish@codeaurora.org> Signed-off-by: Meng Wang <mwang@codeaurora.org>
This commit is contained in:
parent
b83ade287a
commit
d3976a6753
1 changed files with 4 additions and 1 deletions
|
|
@ -154,7 +154,8 @@ struct snd_compr_audio_info {
|
|||
* beginning of the track
|
||||
* @SNDRV_COMPRESS_PATH_DELAY: dsp path delay in microseconds
|
||||
* @SNDRV_COMPRESS_RENDER_MODE: dsp render mode (audio master or stc)
|
||||
* @SNDRV_COMPRESS_CLK_REC_MODE: clock recovery mode ( none or auto)
|
||||
* @SNDRV_COMPRESS_CLK_REC_MODE: clock recovery mode ( none or auto)
|
||||
* @SNDRV_COMPRESS_RENDER_WINDOW: render window
|
||||
*/
|
||||
enum sndrv_compress_encoder {
|
||||
SNDRV_COMPRESS_ENCODER_PADDING = 1,
|
||||
|
|
@ -163,6 +164,7 @@ enum sndrv_compress_encoder {
|
|||
SNDRV_COMPRESS_PATH_DELAY = 3,
|
||||
SNDRV_COMPRESS_RENDER_MODE = 4,
|
||||
SNDRV_COMPRESS_CLK_REC_MODE = 5,
|
||||
SNDRV_COMPRESS_RENDER_WINDOW = 6,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
@ -170,6 +172,7 @@ enum sndrv_compress_encoder {
|
|||
#define SNDRV_COMPRESS_PATH_DELAY SNDRV_COMPRESS_PATH_DELAY
|
||||
#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
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue