Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/neteq/
Ddtmf_tone_generator.cc42 const int DtmfToneGenerator::kCoeff1[4][16] = {
55 const int DtmfToneGenerator::kCoeff2[4][16] = {
68 const int DtmfToneGenerator::kInitValue1[4][16] = {
81 const int DtmfToneGenerator::kInitValue2[4][16] = {
95 const int DtmfToneGenerator::kAmplitude[64] = {
104 DtmfToneGenerator::DtmfToneGenerator() in DtmfToneGenerator() function in webrtc::DtmfToneGenerator
110 int DtmfToneGenerator::Init(int fs, int event, int attenuation) { in Init()
166 void DtmfToneGenerator::Reset() { in Reset()
171 int DtmfToneGenerator::Generate(size_t num_samples, AudioMultiVector* output) { in Generate()
211 bool DtmfToneGenerator::initialized() const { in initialized()
Ddtmf_tone_generator_unittest.cc97 DtmfToneGenerator tone_gen_;
148 TEST(DtmfToneGenerator, TestErrors) { in TEST() argument
149 DtmfToneGenerator tone_gen; in TEST()
154 EXPECT_EQ(DtmfToneGenerator::kNotInitialized, in TEST()
161 EXPECT_EQ(DtmfToneGenerator::kParameterError, in TEST()
164 EXPECT_EQ(DtmfToneGenerator::kParameterError, in TEST()
167 EXPECT_EQ(DtmfToneGenerator::kParameterError, tone_gen.Init(fs, event, -1)); in TEST()
169 EXPECT_EQ(DtmfToneGenerator::kParameterError, tone_gen.Init(fs, event, 64)); in TEST()
176 EXPECT_EQ(DtmfToneGenerator::kParameterError, in TEST()
Ddtmf_tone_generator.h23 class DtmfToneGenerator {
30 DtmfToneGenerator();
31 virtual ~DtmfToneGenerator() {} in ~DtmfToneGenerator()
52 RTC_DISALLOW_COPY_AND_ASSIGN(DtmfToneGenerator);
Dneteq_impl.h45 class DtmfToneGenerator; variable
110 std::unique_ptr<DtmfToneGenerator> dtmf_tone_generator;
340 const std::unique_ptr<DtmfToneGenerator> dtmf_tone_generator_
Dneteq_impl_unittest.cc241 DtmfToneGenerator* dtmf_tone_generator_ = nullptr;
Dneteq_impl.cc108 dtmf_tone_generator(new DtmfToneGenerator), in Dependencies()
/external/webrtc/modules/audio_coding/neteq/mock/
Dmock_dtmf_tone_generator.h19 class MockDtmfToneGenerator : public DtmfToneGenerator {