webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Macros | Functions
echo_control_mobile.cc File Reference
#include "webrtc/modules/audio_processing/aecm/echo_control_mobile.h"
#include <stdlib.h>
#include "webrtc/common_audio/ring_buffer.h"
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
#include "webrtc/modules/audio_processing/aecm/aecm_core.h"

Classes

struct  AecMobile
 

Macros

#define BUF_SIZE_FRAMES   50
 
#define MAX_RESAMP_LEN   (5 * FRAME_LEN)
 

Functions

voidWebRtcAecm_Create ()
 
void WebRtcAecm_Free (void *aecmInst)
 
int32_t WebRtcAecm_Init (void *aecmInst, int32_t sampFreq)
 
int32_t WebRtcAecm_GetBufferFarendError (void *aecmInst, const int16_t *farend, size_t nrOfSamples)
 
int32_t WebRtcAecm_BufferFarend (void *aecmInst, const int16_t *farend, size_t nrOfSamples)
 
int32_t WebRtcAecm_Process (void *aecmInst, const int16_t *nearendNoisy, const int16_t *nearendClean, int16_t *out, size_t nrOfSamples, int16_t msInSndCardBuf)
 
int32_t WebRtcAecm_set_config (void *aecmInst, AecmConfig config)
 
int32_t WebRtcAecm_InitEchoPath (void *aecmInst, const void *echo_path, size_t size_bytes)
 
int32_t WebRtcAecm_GetEchoPath (void *aecmInst, void *echo_path, size_t size_bytes)
 
size_t WebRtcAecm_echo_path_size_bytes ()
 

Macro Definition Documentation

◆ BUF_SIZE_FRAMES

#define BUF_SIZE_FRAMES   50

◆ MAX_RESAMP_LEN

#define MAX_RESAMP_LEN   (5 * FRAME_LEN)

Function Documentation

◆ WebRtcAecm_BufferFarend()

int32_t WebRtcAecm_BufferFarend ( void aecmInst,
const int16_t farend,
size_t  nrOfSamples 
)

◆ WebRtcAecm_Create()

void* WebRtcAecm_Create ( )

◆ WebRtcAecm_echo_path_size_bytes()

size_t WebRtcAecm_echo_path_size_bytes ( )

◆ WebRtcAecm_Free()

void WebRtcAecm_Free ( void aecmInst)

◆ WebRtcAecm_GetBufferFarendError()

int32_t WebRtcAecm_GetBufferFarendError ( void aecmInst,
const int16_t farend,
size_t  nrOfSamples 
)

◆ WebRtcAecm_GetEchoPath()

int32_t WebRtcAecm_GetEchoPath ( void aecmInst,
void echo_path,
size_t  size_bytes 
)

◆ WebRtcAecm_Init()

int32_t WebRtcAecm_Init ( void aecmInst,
int32_t  sampFreq 
)

◆ WebRtcAecm_InitEchoPath()

int32_t WebRtcAecm_InitEchoPath ( void aecmInst,
const void echo_path,
size_t  size_bytes 
)

◆ WebRtcAecm_Process()

int32_t WebRtcAecm_Process ( void aecmInst,
const int16_t nearendNoisy,
const int16_t nearendClean,
int16_t out,
size_t  nrOfSamples,
int16_t  msInSndCardBuf 
)

◆ WebRtcAecm_set_config()

int32_t WebRtcAecm_set_config ( void aecmInst,
AecmConfig  config 
)