webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
webrtc::AudioCodingModuleMtTestOldApi Class Reference
Inheritance diagram for webrtc::AudioCodingModuleMtTestOldApi:
webrtc::AudioCodingModuleTestOldApi testing::Test webrtc::AcmIsacMtTestOldApi

Protected Member Functions

 AudioCodingModuleMtTestOldApi ()
 
void SetUp ()
 
void StartThreads ()
 
void TearDown ()
 
EventTypeWrapper RunTest ()
 
virtual bool TestDone ()
 
bool CbSendImpl ()
 
bool CbInsertPacketImpl ()
 
bool CbPullAudioImpl ()
 
int pull_audio_count_ GUARDED_BY (crit_sect_)
 
int64_t next_insert_packet_time_ms_ GUARDED_BY (crit_sect_)
 
- Protected Member Functions inherited from webrtc::AudioCodingModuleTestOldApi
 AudioCodingModuleTestOldApi ()
 
 ~AudioCodingModuleTestOldApi ()
 
virtual void SetUpL16Codec ()
 
virtual void RegisterCodec ()
 
virtual void InsertPacketAndPullAudio ()
 
virtual void InsertPacket ()
 
virtual void PullAudio ()
 
virtual void InsertAudio ()
 
virtual void VerifyEncoding ()
 
virtual void InsertAudioAndVerifyEncoding ()
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Static Protected Member Functions

static bool CbSendThread (void *context)
 
static bool CbInsertPacketThread (void *context)
 
static bool CbPullAudioThread (void *context)
 

Protected Attributes

rtc::PlatformThread send_thread_
 
rtc::PlatformThread insert_packet_thread_
 
rtc::PlatformThread pull_audio_thread_
 
const std::unique_ptr< EventWrappertest_complete_
 
int send_count_
 
int insert_packet_count_
 
rtc::CriticalSection crit_sect_
 
std::unique_ptr< SimulatedClockfake_clock_
 
- Protected Attributes inherited from webrtc::AudioCodingModuleTestOldApi
const int id_
 
std::unique_ptr< RtpUtilityrtp_utility_
 
std::unique_ptr< AudioCodingModuleacm_
 
PacketizationCallbackStubOldApi packet_cb_
 
WebRtcRTPHeader rtp_header_
 
AudioFrame input_frame_
 
rtc::Optional< SdpAudioFormataudio_format_
 
CodecInst codec_
 
Clockclock_
 

Static Protected Attributes

static const int kNumPackets = 500
 
static const int kNumPullCalls = 500
 

Constructor & Destructor Documentation

◆ AudioCodingModuleMtTestOldApi()

webrtc::AudioCodingModuleMtTestOldApi::AudioCodingModuleMtTestOldApi ( )
inlineprotected

Member Function Documentation

◆ CbInsertPacketImpl()

bool webrtc::AudioCodingModuleMtTestOldApi::CbInsertPacketImpl ( )
inlineprotected

◆ CbInsertPacketThread()

static bool webrtc::AudioCodingModuleMtTestOldApi::CbInsertPacketThread ( void context)
inlinestaticprotected

◆ CbPullAudioImpl()

bool webrtc::AudioCodingModuleMtTestOldApi::CbPullAudioImpl ( )
inlineprotected

◆ CbPullAudioThread()

static bool webrtc::AudioCodingModuleMtTestOldApi::CbPullAudioThread ( void context)
inlinestaticprotected

◆ CbSendImpl()

bool webrtc::AudioCodingModuleMtTestOldApi::CbSendImpl ( )
inlineprotected

◆ CbSendThread()

static bool webrtc::AudioCodingModuleMtTestOldApi::CbSendThread ( void context)
inlinestaticprotected

◆ GUARDED_BY() [1/2]

int pull_audio_count_ webrtc::AudioCodingModuleMtTestOldApi::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [2/2]

int64_t next_insert_packet_time_ms_ webrtc::AudioCodingModuleMtTestOldApi::GUARDED_BY ( crit_sect_  )
protected

◆ RunTest()

EventTypeWrapper webrtc::AudioCodingModuleMtTestOldApi::RunTest ( )
inlineprotected

◆ SetUp()

void webrtc::AudioCodingModuleMtTestOldApi::SetUp ( )
inlineprotectedvirtual

◆ StartThreads()

void webrtc::AudioCodingModuleMtTestOldApi::StartThreads ( )
inlineprotected

◆ TearDown()

void webrtc::AudioCodingModuleMtTestOldApi::TearDown ( )
inlineprotectedvirtual

◆ TestDone()

virtual bool webrtc::AudioCodingModuleMtTestOldApi::TestDone ( )
inlineprotectedvirtual

Reimplemented in webrtc::AcmIsacMtTestOldApi.

Member Data Documentation

◆ crit_sect_

rtc::CriticalSection webrtc::AudioCodingModuleMtTestOldApi::crit_sect_
protected

◆ fake_clock_

std::unique_ptr<SimulatedClock> webrtc::AudioCodingModuleMtTestOldApi::fake_clock_
protected

◆ insert_packet_count_

int webrtc::AudioCodingModuleMtTestOldApi::insert_packet_count_
protected

◆ insert_packet_thread_

rtc::PlatformThread webrtc::AudioCodingModuleMtTestOldApi::insert_packet_thread_
protected

◆ kNumPackets

const int webrtc::AudioCodingModuleMtTestOldApi::kNumPackets = 500
staticprotected

◆ kNumPullCalls

const int webrtc::AudioCodingModuleMtTestOldApi::kNumPullCalls = 500
staticprotected

◆ pull_audio_thread_

rtc::PlatformThread webrtc::AudioCodingModuleMtTestOldApi::pull_audio_thread_
protected

◆ send_count_

int webrtc::AudioCodingModuleMtTestOldApi::send_count_
protected

◆ send_thread_

rtc::PlatformThread webrtc::AudioCodingModuleMtTestOldApi::send_thread_
protected

◆ test_complete_

const std::unique_ptr<EventWrapper> webrtc::AudioCodingModuleMtTestOldApi::test_complete_
protected

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