webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
webrtc::EchoControlMobile Class Referenceabstract

#include <audio_processing.h>

Inheritance diagram for webrtc::EchoControlMobile:
webrtc::EchoControlMobileImpl webrtc::EchoControlMobileImpl webrtc::test::MockEchoControlMobile webrtc::test::MockEchoControlMobile

Public Types

enum  RoutingMode {
  kQuietEarpieceOrHeadset, kEarpiece, kLoudEarpiece, kSpeakerphone,
  kLoudSpeakerphone, kQuietEarpieceOrHeadset, kEarpiece, kLoudEarpiece,
  kSpeakerphone, kLoudSpeakerphone
}
 
enum  RoutingMode {
  kQuietEarpieceOrHeadset, kEarpiece, kLoudEarpiece, kSpeakerphone,
  kLoudSpeakerphone, kQuietEarpieceOrHeadset, kEarpiece, kLoudEarpiece,
  kSpeakerphone, kLoudSpeakerphone
}
 

Public Member Functions

virtual int Enable (bool enable)=0
 
virtual bool is_enabled () const =0
 
virtual int set_routing_mode (RoutingMode mode)=0
 
virtual RoutingMode routing_mode () const =0
 
virtual int enable_comfort_noise (bool enable)=0
 
virtual bool is_comfort_noise_enabled () const =0
 
virtual int SetEchoPath (const void *echo_path, size_t size_bytes)=0
 
virtual int GetEchoPath (void *echo_path, size_t size_bytes) const =0
 
virtual int Enable (bool enable)=0
 
virtual bool is_enabled () const =0
 
virtual int set_routing_mode (RoutingMode mode)=0
 
virtual RoutingMode routing_mode () const =0
 
virtual int enable_comfort_noise (bool enable)=0
 
virtual bool is_comfort_noise_enabled () const =0
 
virtual int SetEchoPath (const void *echo_path, size_t size_bytes)=0
 
virtual int GetEchoPath (void *echo_path, size_t size_bytes) const =0
 

Static Public Member Functions

static size_t echo_path_size_bytes ()
 
static size_t echo_path_size_bytes ()
 

Protected Member Functions

virtual ~EchoControlMobile ()
 
virtual ~EchoControlMobile ()
 

Member Enumeration Documentation

◆ RoutingMode [1/2]

Enumerator
kQuietEarpieceOrHeadset 
kEarpiece 
kLoudEarpiece 
kSpeakerphone 
kLoudSpeakerphone 
kQuietEarpieceOrHeadset 
kEarpiece 
kLoudEarpiece 
kSpeakerphone 
kLoudSpeakerphone 

◆ RoutingMode [2/2]

Enumerator
kQuietEarpieceOrHeadset 
kEarpiece 
kLoudEarpiece 
kSpeakerphone 
kLoudSpeakerphone 
kQuietEarpieceOrHeadset 
kEarpiece 
kLoudEarpiece 
kSpeakerphone 
kLoudSpeakerphone 

Constructor & Destructor Documentation

◆ ~EchoControlMobile() [1/2]

virtual webrtc::EchoControlMobile::~EchoControlMobile ( )
inlineprotectedvirtual

◆ ~EchoControlMobile() [2/2]

virtual webrtc::EchoControlMobile::~EchoControlMobile ( )
inlineprotectedvirtual

Member Function Documentation

◆ echo_path_size_bytes() [1/2]

size_t webrtc::EchoControlMobile::echo_path_size_bytes ( )
static

◆ echo_path_size_bytes() [2/2]

static size_t webrtc::EchoControlMobile::echo_path_size_bytes ( )
static

◆ Enable() [1/2]

virtual int webrtc::EchoControlMobile::Enable ( bool  enable)
pure virtual

◆ Enable() [2/2]

virtual int webrtc::EchoControlMobile::Enable ( bool  enable)
pure virtual

◆ enable_comfort_noise() [1/2]

virtual int webrtc::EchoControlMobile::enable_comfort_noise ( bool  enable)
pure virtual

◆ enable_comfort_noise() [2/2]

virtual int webrtc::EchoControlMobile::enable_comfort_noise ( bool  enable)
pure virtual

◆ GetEchoPath() [1/2]

virtual int webrtc::EchoControlMobile::GetEchoPath ( void echo_path,
size_t  size_bytes 
) const
pure virtual

◆ GetEchoPath() [2/2]

virtual int webrtc::EchoControlMobile::GetEchoPath ( void echo_path,
size_t  size_bytes 
) const
pure virtual

◆ is_comfort_noise_enabled() [1/2]

virtual bool webrtc::EchoControlMobile::is_comfort_noise_enabled ( ) const
pure virtual

◆ is_comfort_noise_enabled() [2/2]

virtual bool webrtc::EchoControlMobile::is_comfort_noise_enabled ( ) const
pure virtual

◆ is_enabled() [1/2]

virtual bool webrtc::EchoControlMobile::is_enabled ( ) const
pure virtual

◆ is_enabled() [2/2]

virtual bool webrtc::EchoControlMobile::is_enabled ( ) const
pure virtual

◆ routing_mode() [1/2]

virtual RoutingMode webrtc::EchoControlMobile::routing_mode ( ) const
pure virtual

◆ routing_mode() [2/2]

virtual RoutingMode webrtc::EchoControlMobile::routing_mode ( ) const
pure virtual

◆ set_routing_mode() [1/2]

virtual int webrtc::EchoControlMobile::set_routing_mode ( RoutingMode  mode)
pure virtual

◆ set_routing_mode() [2/2]

virtual int webrtc::EchoControlMobile::set_routing_mode ( RoutingMode  mode)
pure virtual

◆ SetEchoPath() [1/2]

virtual int webrtc::EchoControlMobile::SetEchoPath ( const void echo_path,
size_t  size_bytes 
)
pure virtual

◆ SetEchoPath() [2/2]

virtual int webrtc::EchoControlMobile::SetEchoPath ( const void echo_path,
size_t  size_bytes 
)
pure virtual

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