/cts/tests/tests/media/src/android/media/cts/ |
AudioPreProcessingTest.java | 110 //Test case 2.1: test AEC creation and release 121 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); local 122 assertTrue("AEC not available but created or available and not created", 123 isAvailable == (aec != null)); 124 if (aec != null) { 125 aec.release(); 131 // 2.2 - AEC Enable/disable 134 //Test case 2.2: test AEC setEnabled() and getEnabled() 147 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); local 148 assertNotNull("could not create AcousticEchoCanceler", aec); [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
AcousticEchoCanceler.java | 22 * Acoustic Echo Canceler (AEC). 23 * <p>Acoustic Echo Canceler (AEC) is an audio pre-processor which removes the contribution of the 25 * <p>AEC is used by voice communication applications (voice chat, video conferencing, SIP calls) 27 * is highly disturbing. AEC is often used in conjunction with noise suppression (NS). 28 * <p>An application creates an AcousticEchoCanceler object to instantiate and control an AEC 34 * <p>On some devices, an AEC can be inserted by default in the capture path by the platform 36 * call AcousticEchoCanceler.getEnable() after creating the AEC to check the default AEC activation 59 * @return AcousticEchoCanceler created or null if the device does not implement AEC. 62 AcousticEchoCanceler aec = null local [all...] |
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
WebRtcAudioEffects.java | 28 // effects are: AcousticEchoCanceler (AEC), AutomaticGainControl (AGC) and 54 private AcousticEchoCanceler aec = null; field in class:WebRtcAudioEffects 67 // Checks if the device implements Acoustic Echo Cancellation (AEC). 68 // Returns true if the device implements AEC, false otherwise. 88 // Returns true if the device is blacklisted for HW AEC usage. 94 Logging.w(TAG, Build.MODEL + " is blacklisted for HW AEC usage!"); 121 // Returns true if the platform AEC should be excluded based on its UUID. 160 // Returns true if all conditions for supporting the HW AEC are fulfilled. 161 // It will not be possible to enable the HW AEC if this method returns false. 205 // Return null if VoIP effects (AEC, AGC and NS) are not supported [all...] |
/external/webrtc/webrtc/modules/audio_processing/aec/ |
echo_cancellation_internal.h | 15 #include "webrtc/modules/audio_processing/aec/aec_core.h" 28 short initFlag; // indicates if AEC has been initialized 62 AecCore* aec; member in struct:__anon38948 63 } Aec;
|
aec_core.c | 12 * The core AEC algorithm, which is presented with time-aligned signals. 15 #include "webrtc/modules/audio_processing/aec/aec_core.h" 29 #include "webrtc/modules/audio_processing/aec/aec_common.h" 30 #include "webrtc/modules/audio_processing/aec/aec_core_internal.h" 31 #include "webrtc/modules/audio_processing/aec/aec_rdft.h" 102 // Delay Agnostic AEC parameters, still under development and may change. 270 static void OverdriveAndSuppress(AecCore* aec, 281 hNl[i] = powf(hNl[i], aec->overDriveSm * WebRtcAec_overDriveCurve[i]); 293 static int PartitionDelay(const AecCore* aec) { 302 for (i = 0; i < aec->num_partitions; i++) 1426 AecCore* aec = malloc(sizeof(AecCore)); local [all...] |
/external/webrtc/webrtc/modules/audio_processing/test/ |
debug_dump_test.cc | 409 // AEC configs. 527 EchoCancellation* aec = generator.apm()->echo_cancellation(); local 528 EXPECT_EQ(AudioProcessing::kNoError, aec->Enable(!aec->is_enabled())); 542 EchoCancellation* aec = generator.apm()->echo_cancellation(); local 543 EXPECT_EQ(AudioProcessing::kNoError, aec->Enable(!aec->is_enabled())); 553 EchoCancellation* aec = generator.apm()->echo_cancellation(); local 554 EXPECT_EQ(AudioProcessing::kNoError, aec->Enable(true)); 556 aec->set_suppression_level(EchoCancellation::kLowSuppression)) [all...] |
/external/webrtc/webrtc/voice_engine/ |
voe_audio_processing_impl.cc | 480 EchoCancellation* aec = _shared->audio_processing()->echo_cancellation(); local 481 if (aec->enable_drift_compensation(enable) != 0) { 483 "aec->enable_drift_compensation() failed"); 492 EchoCancellation* aec = _shared->audio_processing()->echo_cancellation(); local 493 return aec->is_drift_compensation_enabled(); 505 // AEC mode 509 // Disable the AECM before enable the AEC 512 "SetEcStatus() disable AECM before enabling AEC"); 523 "SetEcStatus() failed to set AEC state"); 552 // Disable the AEC before enable the AEC [all...] |
transmit_mixer.cc | 1254 EchoCancellation* aec = audioproc_->echo_cancellation(); local [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestRecBuffQueue.cpp | 47 bool aec = false; variable 217 if (aec) numInterfaces++; 244 if (aec) { 386 /* Enable AEC if requested */ 387 if (aec) { 391 printf("AEC is %savailable\n", SL_RESULT_SUCCESS == result ? "" : "not "); 398 printf("AEC is %s\n", enabled ? "enabled" : "not enabled"); 536 aec = true;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
AudioGroup.cpp | 840 sp<AudioEffect> aec; local 843 aec = new AudioEffect(FX_IID_AEC, 851 status_t status = aec->initCheck(); 853 aec->setEnabled(true); 855 aec.clear(); 858 // Create local echo suppressor if platform AEC cannot be used. 859 if (aec == 0) {
|
/frameworks/av/media/libeffects/preprocessing/ |
PreProcessing.cpp | 427 // Acoustic Echo Canceler (AEC) 437 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local 438 aec->set_routing_mode(kAecDefaultMode); 439 aec->enable_comfort_noise(kAecDefaultComfortNoise); 445 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); local 446 ALOGV("AecCreate got aec %p", aec); 447 if (aec == NULL) { 451 effect->engine = static_cast<preproc_fx_handle_t>(aec); 503 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine) local 511 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local 518 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local [all...] |
/hardware/qcom/msm8960/kernel-headers/media/ |
msm_camera.h | 724 struct stats_buff aec; member in struct:msm_stats_buf [all...] |
/hardware/qcom/msm8960/original-kernel-headers/media/ |
msm_camera.h | 572 MSM_STATS_TYPE_AEC, /* legacy based AEC */ 746 struct stats_buff aec; member in struct:msm_stats_buf [all...] |
/hardware/qcom/msm8996/kernel-headers/media/ |
msm_camera.h | 701 struct stats_buff aec; member in struct:msm_stats_buf [all...] |
/hardware/qcom/msm8996/original-kernel-headers/media/ |
msm_camera.h | 618 MSM_STATS_TYPE_AEC, /* legacy based AEC */ 801 struct stats_buff aec; member in struct:msm_stats_buf [all...] |
/hardware/qcom/msm8998/kernel-headers/media/ |
msm_camera.h | 701 struct stats_buff aec; member in struct:msm_stats_buf [all...] |
/hardware/qcom/msm8998/original-kernel-headers/media/ |
msm_camera.h | 618 MSM_STATS_TYPE_AEC, /* legacy based AEC */ 801 struct stats_buff aec; member in struct:msm_stats_buf [all...] |