summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-07-14 04:01:30 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-14 04:01:29 -0700
commit09e0532f9db64662f7574a3698dbbbfc49440a24 (patch)
treeb5db190779e45573fb18bc37ea1783035154a429 /include
parentb90525b5f0495ac6e2b2ad8677038ca83f3219a8 (diff)
parenta48f734c3b1655d532a3c4795729cc13a7faddd6 (diff)
Merge "ASoC: msm: Support mixer controls for Pan/scale & downmix"
Diffstat (limited to 'include')
-rw-r--r--include/sound/apr_audio-v2.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/sound/apr_audio-v2.h b/include/sound/apr_audio-v2.h
index 00cba88b6082..a1d8b04d08ac 100644
--- a/include/sound/apr_audio-v2.h
+++ b/include/sound/apr_audio-v2.h
@@ -625,11 +625,30 @@ struct audproc_softvolume_params {
*/
#define AUDPROC_PARAM_ID_MFC_OUTPUT_MEDIA_FORMAT 0x00010913
+/* ID of the Channel Mixer module, which is used to configure
+ * channel-mixer related parameters.
+ * This module supports the AUDPROC_CHMIXER_PARAM_ID_COEFF parameter ID.
+ */
+#define AUDPROC_MODULE_ID_CHMIXER 0x00010341
+
/* ID of the Coefficient parameter used by AUDPROC_MODULE_ID_CHMIXER to
*configure the channel mixer weighting coefficients.
*/
#define AUDPROC_CHMIXER_PARAM_ID_COEFF 0x00010342
+/* Payload of the per-session, per-device parameter data of the
+ * #ADM_CMD_SET_PSPD_MTMX_STRTR_PARAMS_V5 command or
+ * #ADM_CMD_SET_PSPD_MTMX_STRTR_PARAMS_V6 command.
+ * Immediately following this structure are param_size bytes of parameter
+ * data. The structure and size depend on the module_id/param_id pair.
+ */
+struct adm_pspd_param_data_t {
+ uint32_t module_id;
+ uint32_t param_id;
+ uint16_t param_size;
+ uint16_t reserved;
+} __packed;
+
struct audproc_mfc_output_media_fmt {
struct adm_cmd_set_pp_params_v5 params;
struct adm_param_data_v5 data;