summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCong Tang <congt@codeaurora.org>2017-10-31 13:13:37 +0800
committerCong Tang <congt@codeaurora.org>2018-03-02 14:56:24 +0800
commit444917149379dd56b69163f83547e0cea5b041de (patch)
treee5e8b0b3464d0db05b902c6fbdaae80e08134fce /include
parent0b1ba172bb303920fea3f20dee3f3d8c9149ce3a (diff)
ASoC: msm: Support Channel Mixer Cfg
Enhance Channel Mixer controls for MultiMedia Frontend. Change-Id: Ifedac25de5ae6bad1092b66ec405bba66a80f608 Signed-off-by: Cong Tang <congt@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/q6adm-v2.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/sound/q6adm-v2.h b/include/sound/q6adm-v2.h
index 84087de3d4d8..e3cfb107c973 100644
--- a/include/sound/q6adm-v2.h
+++ b/include/sound/q6adm-v2.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -87,6 +87,11 @@ struct msm_pcm_channel_mixer {
bool enable;
int rule;
int channel_weight[ADM_MAX_CHANNELS][ADM_MAX_CHANNELS];
+ int port_idx;
+ int input_channel;
+ uint16_t in_ch_map[ADM_MAX_CHANNELS];
+ uint16_t out_ch_map[ADM_MAX_CHANNELS];
+ int override_cfg;
};
int srs_trumedia_open(int port_id, int copp_idx, __s32 srs_tech_id,
@@ -162,7 +167,8 @@ int adm_get_indexes_from_copp_id(int copp_id, int *port_idx, int *copp_idx);
int adm_set_pspd_matrix_params(int port_id, int copp_idx,
unsigned int session_id,
- char *params, uint32_t params_length);
+ char *params, uint32_t params_length,
+ int session_type);
int adm_set_downmix_params(int port_id, int copp_idx,
unsigned int session_id, char *params,