• Home
  • Raw
  • Download

Lines Matching full:rate

43   ss << "Sample rate: " << sample_rate_hz << " ,";  in ProduceDebugText()
51 ss << "Sample rate: " << config.sample_rate_hz << " ,"; in ProduceDebugText()
71 // The limiter requires sample rate divisible by 2000.
74 for (const int rate : {8000, 18000, 34000, 48000}) { in TEST()
77 SetUpFrames(rate, number_of_channels); in TEST()
81 ProduceDebugText(rate, number_of_channels, number_of_frames)); in TEST()
84 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST()
94 for (const int rate : {8000, 18000, 34000, 48000}) { in TEST()
96 if (static_cast<size_t>(rate / 100 * number_of_channels) > in TEST()
101 SetUpFrames(rate, number_of_channels); in TEST()
105 ProduceDebugText(rate, number_of_channels, number_of_frames)); in TEST()
110 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST()
114 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST()
123 for (const int rate : {50000, 96000, 128000, 196000}) { in TEST()
125 if (static_cast<size_t>(rate / 100 * number_of_channels) > in TEST()
130 SetUpFrames(rate, number_of_channels); in TEST()
134 ProduceDebugText(rate, number_of_channels, number_of_frames)); in TEST()
139 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST()
143 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST()
150 // With no limiter, the rate has to be divisible by 100 since we use
154 for (const int rate : {8000, 10000, 11000, 32000, 44100}) { in TEST()
157 SetUpFrames(rate, number_of_channels); in TEST()
161 ProduceDebugText(rate, number_of_channels, number_of_frames)); in TEST()
164 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST()
173 for (const int rate : {8000, 10000, 11000, 32000, 44100}) { in TEST()
175 SCOPED_TRACE(ProduceDebugText(rate, number_of_channels, 0)); in TEST()
178 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST()
185 audio_frame_for_mixing_data + number_of_channels * rate / 100); in TEST()
187 const std::vector<int16_t> expected(number_of_channels * rate / 100, 0); in TEST()
195 for (const int rate : {8000, 10000, 11000, 32000, 44100}) { in TEST()
197 SCOPED_TRACE(ProduceDebugText(rate, number_of_channels, 1)); in TEST()
199 SetUpFrames(rate, number_of_channels); in TEST()
201 std::iota(frame1_data, frame1_data + number_of_channels * rate / 100, 0); in TEST()
203 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST()
210 audio_frame_for_mixing_data + number_of_channels * rate / 100); in TEST()
212 std::vector<int16_t> expected(number_of_channels * rate / 100); in TEST()