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

Unified Diff: webrtc/modules/audio_processing/three_band_filter_bank.cc

Issue 1335923002: Add RTC_ prefix to (D)CHECKs and related macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 5 years, 3 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_processing/three_band_filter_bank.cc
diff --git a/webrtc/modules/audio_processing/three_band_filter_bank.cc b/webrtc/modules/audio_processing/three_band_filter_bank.cc
index e81e519ef37a7547c155ad7191c68b0623ce1864..91e58df9b8b78415667d50c6c4bc7df2db8d7db8 100644
--- a/webrtc/modules/audio_processing/three_band_filter_bank.cc
+++ b/webrtc/modules/audio_processing/three_band_filter_bank.cc
@@ -138,7 +138,7 @@ ThreeBandFilterBank::ThreeBandFilterBank(size_t length)
void ThreeBandFilterBank::Analysis(const float* in,
size_t length,
float* const* out) {
- CHECK_EQ(in_buffer_.size(), rtc::CheckedDivExact(length, kNumBands));
+ RTC_CHECK_EQ(in_buffer_.size(), rtc::CheckedDivExact(length, kNumBands));
for (size_t i = 0; i < kNumBands; ++i) {
memset(out[i], 0, in_buffer_.size() * sizeof(*out[i]));
}
@@ -163,7 +163,7 @@ void ThreeBandFilterBank::Analysis(const float* in,
void ThreeBandFilterBank::Synthesis(const float* const* in,
size_t split_length,
float* out) {
- CHECK_EQ(in_buffer_.size(), split_length);
+ RTC_CHECK_EQ(in_buffer_.size(), split_length);
memset(out, 0, kNumBands * in_buffer_.size() * sizeof(*out));
for (size_t i = 0; i < kNumBands; ++i) {
for (size_t j = 0; j < kSparsity; ++j) {
« no previous file with comments | « webrtc/modules/audio_processing/test/test_utils.cc ('k') | webrtc/modules/audio_processing/vad/voice_activity_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698