summaryrefslogtreecommitdiff
path: root/voice_processing
diff options
context:
space:
mode:
authorVikram Panduranga <vpandura@codeaurora.org>2017-06-07 18:16:14 -0700
committerShiv Maliyappanahalli <smaliyap@codeaurora.org>2017-08-15 14:52:10 -0700
commit93f080ecd86d7088fce150981a85274b94786bfc (patch)
treeb83186be2ce9c420c4cc363dc3837776607d81da /voice_processing
parent798b00abef7734ff438ca7f58085d7e167445cf9 (diff)
audio: Add dedicated streams for VoIP call
Add dedicated streams for VoIP usecase. This includes adding a new direct output and input types that use audio playback and record paths respectively. It falls back to compress VoIP wherever this feature is not applicable. Change-Id: I9b7654819b9d8deb00f8888fbfc31f0fbbae5266
Diffstat (limited to 'voice_processing')
-rw-r--r--voice_processing/voice_processing.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/voice_processing/voice_processing.c b/voice_processing/voice_processing.c
index e23cfe16..2d5d93d0 100644
--- a/voice_processing/voice_processing.c
+++ b/voice_processing/voice_processing.c
@@ -91,7 +91,8 @@ static const effect_descriptor_t qcom_default_aec_descriptor = {
{ 0x7b491460, 0x8d4d, 0x11e0, 0xbd61, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } }, // type
{ 0x0f8d0d2a, 0x59e5, 0x45fe, 0xb6e4, { 0x24, 0x8c, 0x8a, 0x79, 0x91, 0x09 } }, // uuid
EFFECT_CONTROL_API_VERSION,
- (EFFECT_FLAG_TYPE_PRE_PROC|EFFECT_FLAG_DEVICE_IND|EFFECT_FLAG_HW_ACC_TUNNEL),
+ (EFFECT_FLAG_TYPE_PRE_PROC|EFFECT_FLAG_DEVICE_IND|EFFECT_FLAG_HW_ACC_TUNNEL|
+ EFFECT_FLAG_OFFLOAD_SUPPORTED),
0,
0,
"Acoustic Echo Canceler",
@@ -103,7 +104,8 @@ static const effect_descriptor_t qcom_default_ns_descriptor = {
{ 0x58b4b260, 0x8e06, 0x11e0, 0xaa8e, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } }, // type
{ 0x1d97bb0b, 0x9e2f, 0x4403, 0x9ae3, { 0x58, 0xc2, 0x55, 0x43, 0x06, 0xf8 } }, // uuid
EFFECT_CONTROL_API_VERSION,
- (EFFECT_FLAG_TYPE_PRE_PROC|EFFECT_FLAG_DEVICE_IND|EFFECT_FLAG_HW_ACC_TUNNEL),
+ (EFFECT_FLAG_TYPE_PRE_PROC|EFFECT_FLAG_DEVICE_IND|EFFECT_FLAG_HW_ACC_TUNNEL|
+ EFFECT_FLAG_OFFLOAD_SUPPORTED),
0,
0,
"Noise Suppression",