dsp: Do not send ABR parameters if bitrate is fixed

ABR encoder config parameters should be sent to DSP
only when ABR is enabled. Do not send these parameters
for fixed bitrate.

Change-Id: Icf7e4feef65d01c8ae3f6c6123d490cadef46c97
Signed-off-by: Aniket Kumar Lata <alata@codeaurora.org>
This commit is contained in:
Aniket Kumar Lata
2018-08-16 16:23:46 -07:00
committed by Gerrit - the friendly Code Review server
parent 93ce3defb5
commit 9dce504834
2 changed files with 7 additions and 1 deletions

View File

@@ -3522,6 +3522,10 @@ struct afe_abr_enc_cfg_t {
* Information to set up IMC between decoder and encoder.
*/
struct afe_imc_dec_enc_info imc_info;
/*
* Flag to indicate whether ABR is enabled.
*/
bool is_abr_enabled;
} __packed;
#define AFE_PARAM_ID_APTX_SYNC_MODE 0x00013205