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

Protected Member Functions

 AcmReRegisterIsacMtTestOldApi ()
 
void SetUp () override
 
void RegisterCodec () override
 
void StartThreads ()
 
void TearDown () override
 
EventTypeWrapper RunTest ()
 
bool CbReceiveImpl ()
 
bool CbCodecRegistrationImpl ()
 
bool codec_registered_ GUARDED_BY (crit_sect_)
 
int receive_packet_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 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 CbReceiveThread (void *context)
 
static bool CbCodecRegistrationThread (void *context)
 

Protected Attributes

rtc::PlatformThread receive_thread_
 
rtc::PlatformThread codec_registration_thread_
 
const std::unique_ptr< EventWrappertest_complete_
 
rtc::CriticalSection crit_sect_
 
std::unique_ptr< AudioEncoderIsacisac_encoder_
 
std::unique_ptr< SimulatedClockfake_clock_
 
test::AudioLoop audio_loop_
 
- 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 kRegisterAfterNumPackets = 5
 
static const int kNumPackets = 10
 
static const int kPacketSizeMs = 30
 
static const int kPacketSizeSamples = kPacketSizeMs * 16
 

Constructor & Destructor Documentation

◆ AcmReRegisterIsacMtTestOldApi()

webrtc::AcmReRegisterIsacMtTestOldApi::AcmReRegisterIsacMtTestOldApi ( )
inlineprotected

Member Function Documentation

◆ CbCodecRegistrationImpl()

bool webrtc::AcmReRegisterIsacMtTestOldApi::CbCodecRegistrationImpl ( )
inlineprotected

◆ CbCodecRegistrationThread()

static bool webrtc::AcmReRegisterIsacMtTestOldApi::CbCodecRegistrationThread ( void context)
inlinestaticprotected

◆ CbReceiveImpl()

bool webrtc::AcmReRegisterIsacMtTestOldApi::CbReceiveImpl ( )
inlineprotected

◆ CbReceiveThread()

static bool webrtc::AcmReRegisterIsacMtTestOldApi::CbReceiveThread ( void context)
inlinestaticprotected

◆ GUARDED_BY() [1/3]

bool codec_registered_ webrtc::AcmReRegisterIsacMtTestOldApi::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [2/3]

int receive_packet_count_ webrtc::AcmReRegisterIsacMtTestOldApi::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [3/3]

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

◆ RegisterCodec()

void webrtc::AcmReRegisterIsacMtTestOldApi::RegisterCodec ( )
inlineoverrideprotectedvirtual

◆ RunTest()

EventTypeWrapper webrtc::AcmReRegisterIsacMtTestOldApi::RunTest ( )
inlineprotected

◆ SetUp()

void webrtc::AcmReRegisterIsacMtTestOldApi::SetUp ( )
inlineoverrideprotectedvirtual

◆ StartThreads()

void webrtc::AcmReRegisterIsacMtTestOldApi::StartThreads ( )
inlineprotected

◆ TearDown()

void webrtc::AcmReRegisterIsacMtTestOldApi::TearDown ( )
inlineoverrideprotectedvirtual

Member Data Documentation

◆ audio_loop_

test::AudioLoop webrtc::AcmReRegisterIsacMtTestOldApi::audio_loop_
protected

◆ codec_registration_thread_

rtc::PlatformThread webrtc::AcmReRegisterIsacMtTestOldApi::codec_registration_thread_
protected

◆ crit_sect_

rtc::CriticalSection webrtc::AcmReRegisterIsacMtTestOldApi::crit_sect_
protected

◆ fake_clock_

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

◆ isac_encoder_

std::unique_ptr<AudioEncoderIsac> webrtc::AcmReRegisterIsacMtTestOldApi::isac_encoder_
protected

◆ kNumPackets

const int webrtc::AcmReRegisterIsacMtTestOldApi::kNumPackets = 10
staticprotected

◆ kPacketSizeMs

const int webrtc::AcmReRegisterIsacMtTestOldApi::kPacketSizeMs = 30
staticprotected

◆ kPacketSizeSamples

const int webrtc::AcmReRegisterIsacMtTestOldApi::kPacketSizeSamples = kPacketSizeMs * 16
staticprotected

◆ kRegisterAfterNumPackets

const int webrtc::AcmReRegisterIsacMtTestOldApi::kRegisterAfterNumPackets = 5
staticprotected

◆ receive_thread_

rtc::PlatformThread webrtc::AcmReRegisterIsacMtTestOldApi::receive_thread_
protected

◆ test_complete_

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

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