Audio HAL: added interface for audio preprocessing
Change-Id: I032f6dd8f9ad11283a3f0a6721018dabfd12236d
diff --git a/include/hardware/audio.h b/include/hardware/audio.h
index a4aa0d2..36ff399 100644
--- a/include/hardware/audio.h
+++ b/include/hardware/audio.h
@@ -27,6 +27,7 @@
#include <hardware/hardware.h>
#include <system/audio.h>
+#include <hardware/audio_effect.h>
__BEGIN_DECLS
@@ -116,6 +117,10 @@
*/
char * (*get_parameters)(const struct audio_stream *stream,
const char *keys);
+ int (*add_audio_effect)(const struct audio_stream *stream,
+ effect_handle_t effect);
+ int (*remove_audio_effect)(const struct audio_stream *stream,
+ effect_handle_t effect);
};
typedef struct audio_stream audio_stream_t;