summaryrefslogtreecommitdiff
path: root/hal/platform_api.h
diff options
context:
space:
mode:
authorvivek mehta <mvivek@codeaurora.org>2015-06-25 11:49:38 -0700
committerEric Laurent <elaurent@google.com>2015-06-25 18:04:51 -0700
commit1a9b7c0f180df7fe390f2839e8214667727aaa49 (patch)
tree39ac31ebf1a9bca2d79ff4a1e237d21e2a442efe /hal/platform_api.h
parenta0a75dad3b0ee9b3978115b724a4a655d9cb6e5f (diff)
downloadaudio-1a9b7c0f180df7fe390f2839e8214667727aaa49.tar.gz
hal: post_proc: add volume based audio calibration support
- add new effect module to listen to volume and device change - based on volume levels of all streams active over speaker compute gain based calibration level and communicate with audio HAL to send the same to ACDB loader - make audio HAL singleton Bug: 22100304. Change-Id: If74bf66d32def85022d79ccb9f84c3b85c8a2dc9
Diffstat (limited to 'hal/platform_api.h')
-rw-r--r--hal/platform_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hal/platform_api.h b/hal/platform_api.h
index 9f65a63..8b2b09c 100644
--- a/hal/platform_api.h
+++ b/hal/platform_api.h
@@ -22,6 +22,7 @@ void platform_deinit(void *platform);
const char *platform_get_snd_device_name(snd_device_t snd_device);
void platform_add_backend_name(void *platform, char *mixer_path,
snd_device_t snd_device);
+bool platform_send_gain_dep_cal(void *platform, int level);
int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type);
int platform_get_snd_device_index(char *snd_device_index_name);
int platform_set_snd_device_acdb_id(snd_device_t snd_device, unsigned int acdb_id);