Searched refs:DtmfBuffer (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | dtmf_buffer_unittest.cc | 56 TEST(DtmfBuffer, CreateAndDestroy) { in TEST() argument 57 DtmfBuffer* buffer = new DtmfBuffer(sample_rate_hz); in TEST() 62 TEST(DtmfBuffer, ParseEvent) { in TEST() argument 71 EXPECT_EQ(DtmfBuffer::kOK, in TEST() 72 DtmfBuffer::ParseEvent(timestamp, payload_ptr, sizeof(payload), in TEST() 80 EXPECT_EQ(DtmfBuffer::kPayloadTooShort, in TEST() 81 DtmfBuffer::ParseEvent(timestamp, payload_ptr, 3, &event)); in TEST() 84 TEST(DtmfBuffer, SimpleInsertAndGet) { in TEST() argument 91 DtmfBuffer buffer(sample_rate_hz); in TEST() 92 EXPECT_EQ(DtmfBuffer::kOK, buffer.InsertEvent(event)); in TEST() [all …]
|
D | dtmf_buffer.cc | 26 DtmfBuffer::DtmfBuffer(int fs_hz) { in DtmfBuffer() function in webrtc::DtmfBuffer 30 DtmfBuffer::~DtmfBuffer() = default; 32 void DtmfBuffer::Flush() { in Flush() 69 int DtmfBuffer::ParseEvent(uint32_t rtp_timestamp, in ParseEvent() 100 int DtmfBuffer::InsertEvent(const DtmfEvent& event) { in InsertEvent() 121 bool DtmfBuffer::GetEvent(uint32_t current_timestamp, DtmfEvent* event) { in GetEvent() 190 size_t DtmfBuffer::Length() const { in Length() 194 bool DtmfBuffer::Empty() const { in Empty() 198 int DtmfBuffer::SetSampleRate(int fs_hz) { in SetSampleRate() 215 bool DtmfBuffer::SameEvent(const DtmfEvent& a, const DtmfEvent& b) { in SameEvent() [all …]
|
D | dtmf_buffer.h | 47 class DtmfBuffer { 58 explicit DtmfBuffer(int fs_hz); 60 virtual ~DtmfBuffer(); 110 RTC_DISALLOW_COPY_AND_ASSIGN(DtmfBuffer);
|
D | neteq.cc | 53 DtmfBuffer* dtmf_buffer = new DtmfBuffer(config.sample_rate_hz); in Create()
|
D | neteq_impl.h | 40 class DtmfBuffer; variable 67 DtmfBuffer* dtmf_buffer, 349 const rtc::scoped_ptr<DtmfBuffer> dtmf_buffer_ GUARDED_BY(crit_sect_);
|
D | neteq_impl.cc | 61 DtmfBuffer* dtmf_buffer, in NetEqImpl() 575 int ret = DtmfBuffer::ParseEvent( in InsertPacketInternal() 580 if (ret != DtmfBuffer::kOK) { in InsertPacketInternal() 584 if (dtmf_buffer_->InsertEvent(event) != DtmfBuffer::kOK) { in InsertPacketInternal()
|
D | neteq_impl_unittest.cc | 122 dtmf_buffer_ = new DtmfBuffer(config_.sample_rate_hz); in CreateInstance() 216 DtmfBuffer* dtmf_buffer_;
|
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/ |
D | mock_dtmf_buffer.h | 20 class MockDtmfBuffer : public DtmfBuffer { 22 MockDtmfBuffer(int fs) : DtmfBuffer(fs) {} in MockDtmfBuffer()
|