post_proc: clean up stale audiosphere implementation
Now that we have GEF based implementation, clean up stale one.
CRs-Fixed: 2484430
Change-Id: I7dcad43401650c51e637fce202f5b45d40b3852e
diff --git a/post_proc/bundle.c b/post_proc/bundle.c
index 1e6b91d..0dbf27b 100644
--- a/post_proc/bundle.c
+++ b/post_proc/bundle.c
@@ -40,6 +40,7 @@
#include <stdlib.h>
#include <cutils/list.h>
+#include <cutils/str_parms.h>
#include <log/log.h>
#include <system/thread_defs.h>
#include <tinyalsa/asoundlib.h>
@@ -53,7 +54,6 @@
#include "bass_boost.h"
#include "virtualizer.h"
#include "reverb.h"
-#include "asphere.h"
#ifdef DTS_EAGLE
#include "effect_util.h"
@@ -455,20 +455,16 @@
/*
* Effect Bundle Set and get param operations.
- * currently only handles audio sphere scenario,
- * but the interface itself can be utilized for any effect.
*/
__attribute__ ((visibility ("default")))
-void offload_effects_bundle_get_parameters(struct str_parms *query,
- struct str_parms *reply)
+void offload_effects_bundle_get_parameters(struct str_parms *query __unused,
+ struct str_parms *reply __unused)
{
- asphere_get_parameters(query, reply);
}
__attribute__ ((visibility ("default")))
-void offload_effects_bundle_set_parameters(struct str_parms *parms)
+void offload_effects_bundle_set_parameters(struct str_parms *parms __unused)
{
- asphere_set_parameters(parms);
}
/*
@@ -826,7 +822,6 @@
status = -ENOSYS;
goto exit;
}
- handle_asphere_on_effect_enabled(true, context, &created_effects_list);
context->state = EFFECT_STATE_ACTIVE;
if (context->ops.enable)
context->ops.enable(context);
@@ -841,7 +836,6 @@
status = -ENOSYS;
goto exit;
}
- handle_asphere_on_effect_enabled(false, context, &created_effects_list);
context->state = EFFECT_STATE_INITIALIZED;
if (context->ops.disable)
context->ops.disable(context);