2 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #ifndef _MSM_AUDIO_EFFECTS_H
15 #define _MSM_AUDIO_EFFECTS_H
17 #include <sound/audio_effects.h>
19 #define MAX_PP_PARAMS_SZ 128
21 bool msm_audio_effects_is_effmodule_supp_in_top(int effect_module,
24 int msm_audio_effects_enable_extn(struct audio_client *ac,
25 struct msm_nt_eff_all_config *effects,
28 int msm_audio_effects_reverb_handler(struct audio_client *ac,
29 struct reverb_params *reverb,
32 int msm_audio_effects_bass_boost_handler(struct audio_client *ac,
33 struct bass_boost_params *bass_boost,
36 int msm_audio_effects_pbe_handler(struct audio_client *ac,
37 struct pbe_params *pbe,
40 int msm_audio_effects_virtualizer_handler(struct audio_client *ac,
41 struct virtualizer_params *virtualizer,
44 int msm_audio_effects_popless_eq_handler(struct audio_client *ac,
48 int msm_audio_effects_volume_handler(struct audio_client *ac,
49 struct soft_volume_params *vol,
52 int msm_audio_effects_volume_handler_v2(struct audio_client *ac,
53 struct soft_volume_params *vol,
54 long *values, int instance);
55 #endif /*_MSM_AUDIO_EFFECTS_H*/