mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
ASoC: msm: qdsp6v2: Handles additional flac metadata
Currently, metadata such as min/max block size is sent only for first stream in FLAC gapless playback. This causes incorrect configuration and, subsequently, framedrops in decoding of second stream and onwards by sending these additional flac metadata, dsp receives stream-wise metadata and decodes without dropping Change-Id: Ibd4a9b24180622422ed719b075fd47bcd4ad0c9b Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org> Signed-off-by: Meng Wang <mwang@codeaurora.org> (cherry picked from commit feb23f7f5d63d7b890ba481d0b466b6e9a5eed15) Reviewed-on: https://gerrit.mot.com/1752137 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Submit-Approved: Jira Key Tested-by: Jira Key Reviewed-by: Lianlu Chen <chenll4@lenovo.com>
This commit is contained in:
parent
b9ebcb8b43
commit
1188d4ea63
1 changed files with 5 additions and 0 deletions
|
|
@ -171,6 +171,8 @@ enum sndrv_compress_encoder {
|
|||
SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK = 8,
|
||||
SNDRV_COMPRESS_ADJUST_SESSION_CLOCK = 9,
|
||||
SNDRV_COMPRESS_LATENCY_MODE = 10,
|
||||
SNDRV_COMPRESS_MIN_BLK_SIZE = 11,
|
||||
SNDRV_COMPRESS_MAX_BLK_SIZE = 12,
|
||||
};
|
||||
|
||||
#define SNDRV_COMPRESS_PATH_DELAY SNDRV_COMPRESS_PATH_DELAY
|
||||
|
|
@ -183,6 +185,9 @@ enum sndrv_compress_encoder {
|
|||
#define SNDRV_COMPRESS_ADJUST_SESSION_CLOCK SNDRV_COMPRESS_ADJUST_SESSION_CLOCK
|
||||
#define SNDRV_COMPRESS_LATENCY_MODE SNDRV_COMPRESS_LATENCY_MODE
|
||||
|
||||
#define SNDRV_COMPRESS_MIN_BLK_SIZE SNDRV_COMPRESS_MIN_BLK_SIZE
|
||||
#define SNDRV_COMPRESS_MAX_BLK_SIZE SNDRV_COMPRESS_MAX_BLK_SIZE
|
||||
|
||||
/**
|
||||
* struct snd_compr_metadata - compressed stream metadata
|
||||
* @key: key id
|
||||
|
|
|
|||
Loading…
Reference in a new issue