am dfddbb77: am 48912b93: am afb45246: make wfd work on manta
* commit 'dfddbb77b6da506dd821dea91ea1bf141a57322d':
make wfd work on manta
diff --git a/audio/audio_route.c b/audio/audio_route.c
index 1fc1848..89e2222 100644
--- a/audio/audio_route.c
+++ b/audio/audio_route.c
@@ -259,6 +259,8 @@
path->setting[path_index].ctl = mixer_value->ctl;
path->setting[path_index].num_values = num_values;
path->setting[path_index].value = malloc(num_values * sizeof(int));
+ path->setting[path_index].linked = true;
+ path->setting[path_index].value[0] = mixer_value->value;
}
if (mixer_value->index == -1) {
diff --git a/kernel b/kernel
index d1a659d..d3c38cb 100644
--- a/kernel
+++ b/kernel
Binary files differ
diff --git a/voicefx/eS305VoiceProcessing.cpp b/voicefx/eS305VoiceProcessing.cpp
index a9ec133..9a90685 100644
--- a/voicefx/eS305VoiceProcessing.cpp
+++ b/voicefx/eS305VoiceProcessing.cpp
@@ -948,35 +948,6 @@
//------------------------------------------------------------------------------
// Effect Library Interface Implementation
//------------------------------------------------------------------------------
-int adnc_query_number_effects(uint32_t *pNumEffects)
-{
- if (pNumEffects == NULL) {
- return -EINVAL;
- }
- *pNumEffects = PFX_ID_CNT;
- return sAdncBundleInitStatus;
-}
-
-int adnc_query_effect(uint32_t index, effect_descriptor_t *pDescriptor)
-{
- int status = 0;
-
- pthread_mutex_lock(&sAdncBundleLock);
-
- if (AdncBundle_Init_l() != 0) {
- status = sAdncBundleInitStatus;
- goto exit;
- }
- if (index >= PFX_ID_CNT) {
- status = -EINVAL;
- goto exit;
- }
- memcpy(pDescriptor, adnc_pfx_descriptors[index], sizeof(effect_descriptor_t));
-
-exit:
- pthread_mutex_unlock(&sAdncBundleLock);
- return status;
-}
int adnc_create(const effect_uuid_t *uuid,
int32_t sessionId,
@@ -1091,8 +1062,6 @@
version : EFFECT_LIBRARY_API_VERSION,
name : "Audience Voice Preprocessing Library",
implementor : "The Android Open Source Project",
- query_num_effects : adnc_query_number_effects,
- query_effect : adnc_query_effect,
create_effect : adnc_create,
release_effect : adnc_release,
get_descriptor : adnc_get_descriptor