Home
last modified time | relevance | path

Searched refs:DtmfToneGenerator (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddtmf_tone_generator.cc40 const int DtmfToneGenerator::kCoeff1[4][16] = {
53 const int DtmfToneGenerator::kCoeff2[4][16] = {
66 const int DtmfToneGenerator::kInitValue1[4][16] = {
79 const int DtmfToneGenerator::kInitValue2[4][16] = {
91 const int DtmfToneGenerator::kAmplitude[37] = {
97 DtmfToneGenerator::DtmfToneGenerator() in DtmfToneGenerator() function in webrtc::DtmfToneGenerator
107 int DtmfToneGenerator::Init(int fs, int event, int attenuation) { in Init()
147 void DtmfToneGenerator::Reset() { in Reset()
152 int DtmfToneGenerator::Generate(size_t num_samples, in Generate()
192 bool DtmfToneGenerator::initialized() const { in initialized()
Ddtmf_tone_generator_unittest.cc96 DtmfToneGenerator tone_gen_;
147 TEST(DtmfToneGenerator, TestErrors) { in TEST() argument
148 DtmfToneGenerator tone_gen; in TEST()
153 EXPECT_EQ(DtmfToneGenerator::kNotInitialized, in TEST()
160 EXPECT_EQ(DtmfToneGenerator::kParameterError, in TEST()
163 EXPECT_EQ(DtmfToneGenerator::kParameterError, in TEST()
166 EXPECT_EQ(DtmfToneGenerator::kParameterError, tone_gen.Init(fs, event, -1)); in TEST()
168 EXPECT_EQ(DtmfToneGenerator::kParameterError, tone_gen.Init(fs, event, 37)); in TEST()
175 EXPECT_EQ(DtmfToneGenerator::kParameterError, in TEST()
Ddtmf_tone_generator.h22 class DtmfToneGenerator {
29 DtmfToneGenerator();
30 virtual ~DtmfToneGenerator() {} in ~DtmfToneGenerator()
51 RTC_DISALLOW_COPY_AND_ASSIGN(DtmfToneGenerator);
Dneteq.cc54 DtmfToneGenerator* dtmf_tone_generator = new DtmfToneGenerator; in Create()
Dneteq_impl.h41 class DtmfToneGenerator; variable
68 DtmfToneGenerator* dtmf_tone_generator,
350 const rtc::scoped_ptr<DtmfToneGenerator> dtmf_tone_generator_
Dneteq_impl_unittest.cc128 dtmf_tone_generator_ = new DtmfToneGenerator; in CreateInstance()
219 DtmfToneGenerator* dtmf_tone_generator_;
Dneteq_impl.cc62 DtmfToneGenerator* dtmf_tone_generator, in NetEqImpl()
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/
Dmock_dtmf_tone_generator.h20 class MockDtmfToneGenerator : public DtmfToneGenerator {