diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-06-09 11:23:09 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-06-09 11:23:08 -0700 |
| commit | ea7491238f5e822f06b80ce26cb07555ffdb62d3 (patch) | |
| tree | 1b2faf12301d78159f4d213971c5010331509dfe /include | |
| parent | b93e191754f6e60178797debb1ceb690ae469d2f (diff) | |
| parent | b1b77c6c11b64e8b6f621222fc28c6ac145126fd (diff) | |
Merge "ASoc: msm: add support for mixing data from different COPPs"
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/q6adm-v2.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/sound/q6adm-v2.h b/include/sound/q6adm-v2.h index 900d2455993a..e689e9357012 100644 --- a/include/sound/q6adm-v2.h +++ b/include/sound/q6adm-v2.h @@ -65,6 +65,20 @@ struct route_payload { unsigned int session_id; }; +struct default_chmixer_param_id_coeff { + uint32_t index; + uint16_t num_output_channels; + uint16_t num_input_channels; +}; + +struct msm_pcm_channel_mixer { + int output_channel; + int input_channels[ADM_MAX_CHANNELS]; + bool enable; + int rule; + int channel_weight[ADM_MAX_CHANNELS][ADM_MAX_CHANNELS]; +}; + int srs_trumedia_open(int port_id, int copp_idx, __s32 srs_tech_id, void *srs_params); @@ -166,4 +180,8 @@ int adm_get_source_tracking(int port_id, int copp_idx, struct source_tracking_param *sourceTrackingData); int adm_swap_speaker_channels(int port_id, int copp_idx, int sample_rate, bool spk_swap); +int adm_programable_channel_mixer(int port_id, int copp_idx, int session_id, + int session_type, + struct msm_pcm_channel_mixer *ch_mixer, + int channel_index); #endif /* __Q6_ADM_V2_H__ */ |
