Index: webrtc/modules/audio_processing/aec3/aec3_common.h |
diff --git a/webrtc/modules/audio_processing/aec3/aec3_common.h b/webrtc/modules/audio_processing/aec3/aec3_common.h |
index f03a7e33d29f25370d39f621679b1cccdfa9f0c1..dbfc4ed0d6e7219c565c83fedb61cf01f91e252c 100644 |
--- a/webrtc/modules/audio_processing/aec3/aec3_common.h |
+++ b/webrtc/modules/audio_processing/aec3/aec3_common.h |
@@ -68,6 +68,7 @@ constexpr size_t kRenderTransferQueueSize = kMaxApiCallsJitterBlocks / 2; |
static_assert(2 * kRenderTransferQueueSize >= kMaxApiCallsJitterBlocks, |
"Requirement to ensure buffer overflow detection"); |
+// TODO(peah): Integrate this with how it is done inside audio_processing_impl. |
constexpr size_t NumBandsForRate(int sample_rate_hz) { |
return static_cast<size_t>(sample_rate_hz == 8000 ? 1 |
: sample_rate_hz / 16000); |