Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: webrtc/modules/audio_mixer/default_output_rate_calculator.cc

Issue 2718953002: Roll chromium_revision 33a7a547b9..0e44c5e141 (452838:453130) (Closed)
Patch Set: Disabling test for iOS Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_mixer/default_output_rate_calculator.cc
diff --git a/webrtc/modules/audio_mixer/default_output_rate_calculator.cc b/webrtc/modules/audio_mixer/default_output_rate_calculator.cc
index 6d62aec32f56365316c9a40f8995c0a235ed9c77..b46ca883539eba2857d96158aef31d3abf865d11 100644
--- a/webrtc/modules/audio_mixer/default_output_rate_calculator.cc
+++ b/webrtc/modules/audio_mixer/default_output_rate_calculator.cc
@@ -31,7 +31,7 @@ int DefaultOutputRateCalculator::CalculateOutputRate(
static constexpr NativeRate native_rates[] = {
NativeRate::kSampleRate8kHz, NativeRate::kSampleRate16kHz,
NativeRate::kSampleRate32kHz, NativeRate::kSampleRate48kHz};
- const auto rounded_up_index = std::lower_bound(
+ const auto* rounded_up_index = std::lower_bound(
std::begin(native_rates), std::end(native_rates), maximal_frequency);
RTC_DCHECK(rounded_up_index != std::end(native_rates));
return *rounded_up_index;
« no previous file with comments | « webrtc/modules/audio_coding/neteq/packet_buffer.cc ('k') | webrtc/modules/audio_processing/aec3/cascaded_biquad_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698