msm-audio-effects-q6-v2.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _MSM_AUDIO_EFFECTS_H
  6. #define _MSM_AUDIO_EFFECTS_H
  7. #include <sound/audio_effects.h>
  8. #define MAX_PP_PARAMS_SZ 128
  9. bool msm_audio_effects_is_effmodule_supp_in_top(int effect_module,
  10. int topology);
  11. int msm_audio_effects_enable_extn(struct audio_client *ac,
  12. struct msm_nt_eff_all_config *effects,
  13. bool flag);
  14. int msm_audio_effects_reverb_handler(struct audio_client *ac,
  15. struct reverb_params *reverb,
  16. long *values);
  17. int msm_audio_effects_bass_boost_handler(struct audio_client *ac,
  18. struct bass_boost_params *bass_boost,
  19. long *values);
  20. int msm_audio_effects_pbe_handler(struct audio_client *ac,
  21. struct pbe_params *pbe,
  22. long *values);
  23. int msm_audio_effects_virtualizer_handler(struct audio_client *ac,
  24. struct virtualizer_params *virtualizer,
  25. long *values);
  26. int msm_audio_effects_popless_eq_handler(struct audio_client *ac,
  27. struct eq_params *eq,
  28. long *values);
  29. int msm_audio_effects_volume_handler(struct audio_client *ac,
  30. struct soft_volume_params *vol,
  31. long *values);
  32. int msm_audio_effects_volume_handler_v2(struct audio_client *ac,
  33. struct soft_volume_params *vol,
  34. long *values, int instance);
  35. #endif /*_MSM_AUDIO_EFFECTS_H*/