Searched refs:kNumSamples (Results 1 - 3 of 3) sorted by relevance

/external/webrtc/webrtc/common_audio/
H A Dwav_file_unittest.cc29 static const size_t kNumSamples = 3; local
35 w.WriteSamples(kSamples, kNumSamples);
36 EXPECT_EQ(kNumSamples, w.num_samples());
68 kWavHeaderSize + kNumSamples * sizeof(int16_t) + sizeof(kMetadata);
82 EXPECT_EQ(kNumSamples, r.num_samples());
84 float samples[kNumSamples];
85 EXPECT_EQ(kNumSamples, r.ReadSamples(kNumSamples, samples));
87 EXPECT_EQ(0u, r.ReadSamples(kNumSamples, samples));
98 static const size_t kNumSamples local
140 static const size_t kNumSamples = 3 * kSampleRate * kNumChannels; local
[all...]
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Ddtmf_tone_generator_unittest.cc29 const int kNumSamples = 10; member in class:webrtc::DtmfToneGeneratorTest
41 EXPECT_EQ(kNumSamples, tone_gen_.Generate(kNumSamples, &signal));
47 for (int n = 0; n < kNumSamples; ++n) {
71 EXPECT_EQ(kNumSamples, tone_gen_.Generate(kNumSamples, &ref_signal));
79 EXPECT_EQ(kNumSamples, tone_gen_.Generate(kNumSamples, &signal));
80 for (int n = 0; n < kNumSamples; ++n) {
149 const int kNumSamples local
[all...]
/external/webrtc/webrtc/system_wrappers/source/
H A Dmetrics_unittest.cc67 const int kNumSamples = 10; local
68 for (int i = 0; i < kNumSamples; ++i) {
71 EXPECT_EQ(kNumSamples, test::NumHistogramSamples(kName));
72 EXPECT_EQ(kNumSamples - 1, test::LastHistogramSample(kName));

Completed in 113 milliseconds