webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Static Public Member Functions | List of all members
webrtc::EchoCancellationImpl Class Reference

#include <echo_cancellation_impl.h>

Inheritance diagram for webrtc::EchoCancellationImpl:
webrtc::EchoCancellation webrtc::EchoCancellation

Classes

class  Canceller
 
struct  StreamProperties
 

Public Member Functions

 EchoCancellationImpl (rtc::CriticalSection *crit_render, rtc::CriticalSection *crit_capture)
 
 ~EchoCancellationImpl () override
 
void ProcessRenderAudio (rtc::ArrayView< const float > packed_render_audio)
 
int ProcessCaptureAudio (AudioBuffer *audio, int stream_delay_ms)
 
bool is_enabled () const override
 
int stream_drift_samples () const override
 
SuppressionLevel suppression_level () const override
 
bool is_drift_compensation_enabled () const override
 
void Initialize (int sample_rate_hz, size_t num_reverse_channels_, size_t num_output_channels_, size_t num_proc_channels_)
 
void SetExtraOptions (const webrtc::Config &config)
 
bool is_delay_agnostic_enabled () const
 
bool is_extended_filter_enabled () const
 
std::string GetExperimentsDescription ()
 
bool is_refined_adaptive_filter_enabled () const
 
int GetSystemDelayInSamples () const
 
int enable_metrics (bool enable) override
 
int GetMetrics (Metrics *metrics) override
 
int enable_delay_logging (bool enable) override
 
int GetDelayMetrics (int *median, int *std, float *fraction_poor_delays) override
 
 EchoCancellationImpl (rtc::CriticalSection *crit_render, rtc::CriticalSection *crit_capture)
 
 ~EchoCancellationImpl () override
 
void ProcessRenderAudio (rtc::ArrayView< const float > packed_render_audio)
 
int ProcessCaptureAudio (AudioBuffer *audio, int stream_delay_ms)
 
bool is_enabled () const override
 
int stream_drift_samples () const override
 
SuppressionLevel suppression_level () const override
 
bool is_drift_compensation_enabled () const override
 
void Initialize (int sample_rate_hz, size_t num_reverse_channels_, size_t num_output_channels_, size_t num_proc_channels_)
 
void SetExtraOptions (const webrtc::Config &config)
 
bool is_delay_agnostic_enabled () const
 
bool is_extended_filter_enabled () const
 
std::string GetExperimentsDescription ()
 
bool is_refined_adaptive_filter_enabled () const
 
int GetSystemDelayInSamples () const
 
int enable_metrics (bool enable) override
 
int GetMetrics (Metrics *metrics) override
 
int enable_delay_logging (bool enable) override
 
int GetDelayMetrics (int *median, int *std, float *fraction_poor_delays) override
 

Static Public Member Functions

static void PackRenderAudioBuffer (const AudioBuffer *audio, size_t num_output_channels, size_t num_channels, std::vector< float > *packed_buffer)
 
static size_t NumCancellersRequired (size_t num_output_channels, size_t num_reverse_channels)
 
static void PackRenderAudioBuffer (const AudioBuffer *audio, size_t num_output_channels, size_t num_channels, std::vector< float > *packed_buffer)
 
static size_t NumCancellersRequired (size_t num_output_channels, size_t num_reverse_channels)
 

Additional Inherited Members

- Public Types inherited from webrtc::EchoCancellation
enum  SuppressionLevel {
  kLowSuppression, kModerateSuppression, kHighSuppression, kLowSuppression,
  kModerateSuppression, kHighSuppression
}
 
enum  SuppressionLevel {
  kLowSuppression, kModerateSuppression, kHighSuppression, kLowSuppression,
  kModerateSuppression, kHighSuppression
}
 
- Protected Member Functions inherited from webrtc::EchoCancellation
virtual ~EchoCancellation ()
 
virtual ~EchoCancellation ()
 

Constructor & Destructor Documentation

◆ EchoCancellationImpl() [1/2]

webrtc::EchoCancellationImpl::EchoCancellationImpl ( rtc::CriticalSection crit_render,
rtc::CriticalSection crit_capture 
)

◆ ~EchoCancellationImpl() [1/2]

webrtc::EchoCancellationImpl::~EchoCancellationImpl ( )
overridedefault

◆ EchoCancellationImpl() [2/2]

webrtc::EchoCancellationImpl::EchoCancellationImpl ( rtc::CriticalSection crit_render,
rtc::CriticalSection crit_capture 
)

◆ ~EchoCancellationImpl() [2/2]

webrtc::EchoCancellationImpl::~EchoCancellationImpl ( )
override

Member Function Documentation

◆ enable_delay_logging() [1/2]

int webrtc::EchoCancellationImpl::enable_delay_logging ( bool  enable)
overridevirtual

◆ enable_delay_logging() [2/2]

int webrtc::EchoCancellationImpl::enable_delay_logging ( bool  enable)
overridevirtual

◆ enable_metrics() [1/2]

int webrtc::EchoCancellationImpl::enable_metrics ( bool  enable)
overridevirtual

◆ enable_metrics() [2/2]

int webrtc::EchoCancellationImpl::enable_metrics ( bool  enable)
overridevirtual

◆ GetDelayMetrics() [1/2]

int webrtc::EchoCancellationImpl::GetDelayMetrics ( int *  median,
int *  std,
float *  fraction_poor_delays 
)
overridevirtual

◆ GetDelayMetrics() [2/2]

int webrtc::EchoCancellationImpl::GetDelayMetrics ( int *  median,
int *  std,
float *  fraction_poor_delays 
)
overridevirtual

◆ GetExperimentsDescription() [1/2]

std::string webrtc::EchoCancellationImpl::GetExperimentsDescription ( )

◆ GetExperimentsDescription() [2/2]

std::string webrtc::EchoCancellationImpl::GetExperimentsDescription ( )

◆ GetMetrics() [1/2]

int webrtc::EchoCancellationImpl::GetMetrics ( Metrics metrics)
overridevirtual

◆ GetMetrics() [2/2]

int webrtc::EchoCancellationImpl::GetMetrics ( Metrics metrics)
overridevirtual

◆ GetSystemDelayInSamples() [1/2]

int webrtc::EchoCancellationImpl::GetSystemDelayInSamples ( ) const

◆ GetSystemDelayInSamples() [2/2]

int webrtc::EchoCancellationImpl::GetSystemDelayInSamples ( ) const

◆ Initialize() [1/2]

void webrtc::EchoCancellationImpl::Initialize ( int  sample_rate_hz,
size_t  num_reverse_channels_,
size_t  num_output_channels_,
size_t  num_proc_channels_ 
)

◆ Initialize() [2/2]

void webrtc::EchoCancellationImpl::Initialize ( int  sample_rate_hz,
size_t  num_reverse_channels_,
size_t  num_output_channels_,
size_t  num_proc_channels_ 
)

◆ is_delay_agnostic_enabled() [1/2]

bool webrtc::EchoCancellationImpl::is_delay_agnostic_enabled ( ) const

◆ is_delay_agnostic_enabled() [2/2]

bool webrtc::EchoCancellationImpl::is_delay_agnostic_enabled ( ) const

◆ is_drift_compensation_enabled() [1/2]

bool webrtc::EchoCancellationImpl::is_drift_compensation_enabled ( ) const
overridevirtual

◆ is_drift_compensation_enabled() [2/2]

bool webrtc::EchoCancellationImpl::is_drift_compensation_enabled ( ) const
overridevirtual

◆ is_enabled() [1/2]

bool webrtc::EchoCancellationImpl::is_enabled ( ) const
overridevirtual

◆ is_enabled() [2/2]

bool webrtc::EchoCancellationImpl::is_enabled ( ) const
overridevirtual

◆ is_extended_filter_enabled() [1/2]

bool webrtc::EchoCancellationImpl::is_extended_filter_enabled ( ) const

◆ is_extended_filter_enabled() [2/2]

bool webrtc::EchoCancellationImpl::is_extended_filter_enabled ( ) const

◆ is_refined_adaptive_filter_enabled() [1/2]

bool webrtc::EchoCancellationImpl::is_refined_adaptive_filter_enabled ( ) const

◆ is_refined_adaptive_filter_enabled() [2/2]

bool webrtc::EchoCancellationImpl::is_refined_adaptive_filter_enabled ( ) const

◆ NumCancellersRequired() [1/2]

size_t webrtc::EchoCancellationImpl::NumCancellersRequired ( size_t  num_output_channels,
size_t  num_reverse_channels 
)
static

◆ NumCancellersRequired() [2/2]

static size_t webrtc::EchoCancellationImpl::NumCancellersRequired ( size_t  num_output_channels,
size_t  num_reverse_channels 
)
static

◆ PackRenderAudioBuffer() [1/2]

static void webrtc::EchoCancellationImpl::PackRenderAudioBuffer ( const AudioBuffer audio,
size_t  num_output_channels,
size_t  num_channels,
std::vector< float > *  packed_buffer 
)
static

◆ PackRenderAudioBuffer() [2/2]

void webrtc::EchoCancellationImpl::PackRenderAudioBuffer ( const AudioBuffer audio,
size_t  num_output_channels,
size_t  num_channels,
std::vector< float > *  packed_buffer 
)
static

◆ ProcessCaptureAudio() [1/2]

int webrtc::EchoCancellationImpl::ProcessCaptureAudio ( AudioBuffer audio,
int  stream_delay_ms 
)

◆ ProcessCaptureAudio() [2/2]

int webrtc::EchoCancellationImpl::ProcessCaptureAudio ( AudioBuffer audio,
int  stream_delay_ms 
)

◆ ProcessRenderAudio() [1/2]

void webrtc::EchoCancellationImpl::ProcessRenderAudio ( rtc::ArrayView< const float >  packed_render_audio)

◆ ProcessRenderAudio() [2/2]

void webrtc::EchoCancellationImpl::ProcessRenderAudio ( rtc::ArrayView< const float >  packed_render_audio)

◆ SetExtraOptions() [1/2]

void webrtc::EchoCancellationImpl::SetExtraOptions ( const webrtc::Config config)

◆ SetExtraOptions() [2/2]

void webrtc::EchoCancellationImpl::SetExtraOptions ( const webrtc::Config config)

◆ stream_drift_samples() [1/2]

int webrtc::EchoCancellationImpl::stream_drift_samples ( ) const
overridevirtual

◆ stream_drift_samples() [2/2]

int webrtc::EchoCancellationImpl::stream_drift_samples ( ) const
overridevirtual

◆ suppression_level() [1/2]

SuppressionLevel webrtc::EchoCancellationImpl::suppression_level ( ) const
overridevirtual

◆ suppression_level() [2/2]

EchoCancellation::SuppressionLevel webrtc::EchoCancellationImpl::suppression_level ( ) const
overridevirtual

The documentation for this class was generated from the following files: