post_proc: Support Headphone:X in offload and non tunnel modes
Support Headphone:X in offload and non tunnel modes
Change-Id: Ib30d60bce67cb43556d58a2387735ce715d035a4
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
diff --git a/post_proc/effect_api.h b/post_proc/effect_api.h
index d3b1d81..e05924a 100644
--- a/post_proc/effect_api.h
+++ b/post_proc/effect_api.h
@@ -192,6 +192,12 @@
int offload_transition_soft_volume_send_params(struct mixer_ctl *ctl,
struct soft_volume_params vol,
unsigned param_send_flags);
+
+#define OFFLOAD_SEND_HPX_STATE_ON (1 << 0)
+#define OFFLOAD_SEND_HPX_STATE_OFF (OFFLOAD_SEND_HPX_STATE_ON << 1)
+int offload_hpx_send_params(struct mixer_ctl *ctl, unsigned param_send_flags);
+int hw_acc_hpx_send_params(int fd, unsigned param_send_flags);
+
#if __cplusplus
} //extern "C"
#endif