D | resampler_unittest.cc | 52 Resampler rs_; member in webrtc::__anon4d27d2af0111::ResamplerTest 77 EXPECT_EQ(0, rs_.ResetIfNeeded(in_rate, out_rate, num_channels)); in ResetIfNeededAndPush() 79 rs_.Push(data_in_, in_length, data_out_, kDataSize, out_length)); in ResetIfNeededAndPush() 82 EXPECT_EQ(-1, rs_.ResetIfNeeded(in_rate, out_rate, num_channels)); in ResetIfNeededAndPush() 100 EXPECT_EQ(0, rs_.Reset(kRates[i], kRates[j], kNumChannels[k])); in TEST_F() 102 EXPECT_EQ(-1, rs_.Reset(kRates[i], kRates[j], kNumChannels[k])); in TEST_F() 121 EXPECT_EQ(0, rs_.Reset(kRates[i], kRates[j], kChannels)); in TEST_F() 123 0, rs_.Push(data_in_, in_length, data_out_, kDataSize, out_length)); in TEST_F() 126 EXPECT_EQ(-1, rs_.Reset(kRates[i], kRates[j], kChannels)); in TEST_F() 143 EXPECT_EQ(0, rs_.Reset(kRates[i], kRates[j], kChannels)); in TEST_F() [all …]
|