/cts/tests/tests/media/src/android/media/cts/ |
AudioPreProcessingTest.java | 101 //Test case 2.1: test AEC creation and release 108 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); local 109 assertTrue("AEC not available but created or available and not created", 110 isAvailable == (aec != null)); 111 if (aec != null) { 112 aec.release(); 118 // 2.2 - AEC Enable/disable 121 //Test case 2.2: test AEC setEnabled() and getEnabled() 130 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); local 131 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-processing 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/src/modules/audio_processing/aec/ |
echo_cancellation.c | 12 * Contains the API functions for the AEC. 60 short initFlag; // indicates if AEC has been initialized 95 aec_t *aec; member in struct:__anon30496 115 if (WebRtcAec_CreateAec(&aecpc->aec) == -1) { 151 aecpc->aec->farFile = fopen(filename, "wb"); 153 aecpc->aec->nearFile = fopen(filename, "wb"); 155 aecpc->aec->outFile = fopen(filename, "wb"); 157 aecpc->aec->outLinearFile = fopen(filename, "wb"); 183 fclose(aecpc->aec->farFile); 184 fclose(aecpc->aec->nearFile) [all...] |
aec_core.c | 12 * The core AEC algorithm, which is presented with time-aligned signals. 108 static void ProcessBlock(aec_t* aec); 110 static void NonLinearProcessing(aec_t *aec, short *output, short *outputH); 115 static void ComfortNoise(aec_t *aec, float efw[2][PART_LEN1], 122 static void UpdateMetrics(aec_t *aec); 149 aec_t *aec = malloc(sizeof(aec_t)); local 150 *aecInst = aec; 151 if (aec == NULL) { 155 if (WebRtc_CreateBuffer(&aec->nearFrBuf, 158 WebRtcAec_FreeAec(aec); [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
AudioGroup.cpp | 835 AudioEffect *aec = NULL; local 838 aec = new AudioEffect(FX_IID_AEC, 845 status_t status = aec->initCheck(); 847 aec->setEnabled(true); 849 delete aec; 850 aec = NULL; 853 // Create local echo suppressor if platform AEC cannot be used. 854 if (aec == NULL) { 930 delete aec;
|
/external/dropbear/libtommath/mtest/ |
mpi.c | 2631 int aec = (ec < 0) ? -ec : ec; local [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
PreProcessing.cpp | 426 // Acoustic Echo Canceler (AEC) 436 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local 437 aec->set_routing_mode(kAecDefaultMode); 438 aec->enable_comfort_noise(kAecDefaultComfortNoise); 444 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); local 445 ALOGV("AecCreate got aec %p", aec); 446 if (aec == NULL) { 450 effect->engine = static_cast<preproc_fx_handle_t>(aec); 502 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine) local 510 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local 517 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/msm8x74/kernel-headers/media/ |
msm_camera.h | 711 struct stats_buff aec; member in struct:msm_stats_buf [all...] |
/hardware/qcom/msm8x74/original-kernel-headers/media/ |
msm_camera.h | 629 MSM_STATS_TYPE_AEC, /* legacy based AEC */ 812 struct stats_buff aec; member in struct:msm_stats_buf [all...] |