summaryrefslogtreecommitdiff
path: root/voice_processing
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2016-06-17 16:21:44 -0700
committerEric Laurent <elaurent@google.com>2016-06-17 16:21:44 -0700
commit8ccb7ece3c6b8555072fe5ca05b05950b76b0f51 (patch)
tree2e354955915260dca7cdf8a65ea0255cf0d60633 /voice_processing
parent243251b015ed9fec5a82c7a1bdd9615d7e767e16 (diff)
downloadbullhead-8ccb7ece3c6b8555072fe5ca05b05950b76b0f51.tar.gz
audio: set proper flags for QCOM preprocessing
Add flag EFFECT_FLAG_HW_ACC_TUNNEL to QCOM pre processing effect descriptors (AEC, NS) to indicate they are not running on AP. Bug: 4999001 Change-Id: If2fa3d18f3c993b7786ceea62f1bcf7a7ffb6199
Diffstat (limited to 'voice_processing')
-rw-r--r--voice_processing/voice_processing_descriptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/voice_processing/voice_processing_descriptors.c b/voice_processing/voice_processing_descriptors.c
index 632fc14..e2a6629 100644
--- a/voice_processing/voice_processing_descriptors.c
+++ b/voice_processing/voice_processing_descriptors.c
@@ -27,7 +27,7 @@ const effect_descriptor_t qcom_product_aec_descriptor = {
{ 0x7b491460, 0x8d4d, 0x11e0, 0xbd61, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } }, // type
{ 0xd2f1b180, 0x4a8c, 0x11e5, 0x9883, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } }, // uuid
EFFECT_CONTROL_API_VERSION,
- (EFFECT_FLAG_TYPE_PRE_PROC|EFFECT_FLAG_DEVICE_IND),
+ (EFFECT_FLAG_TYPE_PRE_PROC|EFFECT_FLAG_DEVICE_IND|EFFECT_FLAG_HW_ACC_TUNNEL),
0,
0,
"Acoustic Echo Canceler",
@@ -39,7 +39,7 @@ const effect_descriptor_t qcom_product_ns_descriptor = {
{ 0x58b4b260, 0x8e06, 0x11e0, 0xaa8e, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } }, // type
{ 0x30890b40, 0x4a8d, 0x11e5, 0xb3ee, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } }, // uuid
EFFECT_CONTROL_API_VERSION,
- (EFFECT_FLAG_TYPE_PRE_PROC|EFFECT_FLAG_DEVICE_IND),
+ (EFFECT_FLAG_TYPE_PRE_PROC|EFFECT_FLAG_DEVICE_IND|EFFECT_FLAG_HW_ACC_TUNNEL),
0,
0,
"Noise Suppression",