audio: porting MAXXAUDIO
- use effect module to monitor stream's volume
- the control(maxxaudio) monitors active device and
changed volume from HAL, and send audio calibration
to acdb via acdb_loader.
- support specific USB headset
Enabled function:
- LR channels swap
- load external tuning table for volume preset feature
Bug: 74360112
Test: manual effect test, usb headset test
Change-Id: I9b35436d6abebcfa250beb4857dfa0be9248f2b5
(cherry picked from commit 270b7762c1c6c7b69400ba28a2ea2bed7af1906a)
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 37eae22..ca1ba15 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -45,6 +45,7 @@
#include "edid.h"
#include "sound/compress_params.h"
#include "sound/msmcal-hwdep.h"
+#include "maxxaudio.h"
#ifdef DYNAMIC_LOG_ENABLED
#include <log_xml_parser.h>