hal: Add changes to send pspd coefficients during out_write
Add support to send matrix mixer coefficients in out_write
as older kernel version does not have support to save the
channel weightage values.
Add flag to check and resend matrix mixer coefficients during
device switch.
Change-Id: I8c8991b2b7bbfc60e300b9a965e4d488b2eabb8d
diff --git a/hal/audio_hw.h b/hal/audio_hw.h
index db3474f..69c13e9 100644
--- a/hal/audio_hw.h
+++ b/hal/audio_hw.h
@@ -375,6 +375,7 @@
bool prev_card_status_offline;
error_log_t *error_log;
+ bool pspd_coeff_sent;
};
struct stream_in {
@@ -599,9 +600,9 @@
* or other capabilities are present for the device corresponding to that usecase.
*/
struct pcm_params *use_case_table[AUDIO_USECASE_MAX];
-
struct listnode active_inputs_list;
struct listnode active_outputs_list;
+ bool use_old_pspd_mix_ctrl;
};
int select_devices(struct audio_device *adev,