webrtc/modules/audio_coding/neteq
Mirko Bonadei 25ab3228f3 Replace assert() with RTC_DCHECK().
CL partially auto-generated with:

git grep -l "\bassert(" | grep "\.[c|h]" | \
  xargs sed -i 's/\bassert(/RTC_DCHECK(/g'

And with:

git grep -l "RTC_DCHECK(false)" |  \
  xargs sed -i 's/RTC_DCHECK(false)/RTC_NOTREACHED()/g'

With some manual changes to include "rtc_base/checks.h" where
needed.

A follow-up CL will remove assert() from Obj-C code as well
and remove the #include of <assert.h>.

The choice to replace with RTC_DCHECK is because assert()
is because RTC_DCHECK has similar behavior as assert()
based on NDEBUG.

This CL also contains manual changes to switch from
basic RTC_DCHECK to other (preferred) versions like
RTC_DCHECK_GT (and similar).

Bug: webrtc:6779
Change-Id: I00bed8886e03d685a2f42324e34aef2c9b7a63b0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/224846
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34442}
2021-07-09 07:49:43 +00:00
..
g3doc Add conceptual documentation for NetEq. 2021-04-14 09:17:05 +00:00
mock Add a "Smart flushing" feature to NetEq. 2020-11-26 11:20:28 +00:00
test Delete unused test method in neteq that uses RtcpStatistics 2021-05-17 12:43:44 +00:00
tools Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
accelerate.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
accelerate.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
audio_decoder_unittest.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
audio_multi_vector.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
audio_multi_vector.h Format almost everything. 2019-07-08 13:45:15 +00:00
audio_multi_vector_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
audio_vector.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
audio_vector.h Format almost everything. 2019-07-08 13:45:15 +00:00
audio_vector_unittest.cc Delete unused includes of assert.h 2018-10-04 14:01:44 +00:00
background_noise.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
background_noise.h Format almost everything. 2019-07-08 13:45:15 +00:00
background_noise_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
buffer_level_filter.cc Fix integer overflow. 2021-02-01 17:37:19 +00:00
buffer_level_filter.h Fix integer overflow. 2021-02-01 17:37:19 +00:00
buffer_level_filter_unittest.cc Reland "Reland "Refactor NetEq delay manager logic."" 2020-10-09 13:05:46 +00:00
comfort_noise.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
comfort_noise.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
comfort_noise_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
cross_correlation.cc Implement a Neon optimized function to find the argmax element in an array. 2021-01-21 13:42:34 +00:00
cross_correlation.h [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
decision_logic.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
decision_logic.h Add a "Smart flushing" feature to NetEq. 2020-11-26 11:20:28 +00:00
decision_logic_unittest.cc Add delay manager config options. 2020-11-11 17:30:36 +00:00
decoder_database.cc Format almost everything. 2019-07-08 13:45:15 +00:00
decoder_database.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
decoder_database_unittest.cc Replace more instances of rtc::RefCountedObject with make_ref_counted. 2021-04-27 17:01:59 +00:00
default_neteq_factory.cc Clean up the NetEqFactory API. 2019-11-29 14:04:44 +00:00
default_neteq_factory.h Clean up the NetEqFactory API. 2019-11-29 14:04:44 +00:00
delay_manager.cc Fix for 3 NetEq fuzzer issues. 2020-12-03 14:50:18 +00:00
delay_manager.h Add delay manager config options. 2020-11-11 17:30:36 +00:00
delay_manager_unittest.cc Add delay manager config options. 2020-11-11 17:30:36 +00:00
dsp_helper.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
dsp_helper.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
dsp_helper_unittest.cc Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
dtmf_buffer.cc Delete unused includes of assert.h 2018-10-04 14:01:44 +00:00
dtmf_buffer.h Format almost everything. 2019-07-08 13:45:15 +00:00
dtmf_buffer_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
dtmf_tone_generator.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
dtmf_tone_generator.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
dtmf_tone_generator_unittest.cc Remove simple stringstream usages. 2018-09-06 12:53:19 +00:00
expand.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
expand.h Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
expand_uma_logger.cc Format almost everything. 2019-07-08 13:45:15 +00:00
expand_uma_logger.h Move NetEq headers to api/ 2019-10-31 15:43:59 +00:00
expand_unittest.cc Initialize signal processing function pointers statically 2019-06-28 14:20:03 +00:00
histogram.cc Remove inter-arrival delay mode from DelayManager. 2020-01-08 13:20:36 +00:00
histogram.h Remove inter-arrival delay mode from DelayManager. 2020-01-08 13:20:36 +00:00
histogram_unittest.cc Remove inter-arrival delay mode from DelayManager. 2020-01-08 13:20:36 +00:00
merge.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
merge.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
merge_unittest.cc Fixing a buffer overflow in Merge::Downsample 2019-11-25 12:16:30 +00:00
nack_tracker.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
nack_tracker.h Format almost everything. 2019-07-08 13:45:15 +00:00
nack_tracker_unittest.cc Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
neteq_decoder_plc_unittest.cc Replace more instances of rtc::RefCountedObject with make_ref_counted. 2021-04-27 17:01:59 +00:00
neteq_impl.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
neteq_impl.h Report stats from ChannelReceive::GetAudioFrameWithInfo at 1Hz. 2021-06-09 18:41:47 +00:00
neteq_impl_unittest.cc Fix unscaled timestamps passed to nack_tracker 2021-06-23 08:41:50 +00:00
neteq_network_stats_unittest.cc Replace more instances of rtc::RefCountedObject with make_ref_counted. 2021-04-27 17:01:59 +00:00
neteq_stereo_unittest.cc NetEq: Fix bug in PLC for multi-channel audio 2019-12-02 17:44:58 +00:00
neteq_unittest.cc Roll chromium_revision ba5ff58b6c..94a136c73d (898571:898790) 2021-07-06 17:04:38 +00:00
neteq_unittest.proto Delete unused NetEq stats currentPacketLossRate, currentDiscardRate and addedSamples 2020-09-21 12:19:16 +00:00
normal.cc Implement audio_interruption metric for kCodecPlc 2021-02-11 09:37:24 +00:00
normal.h Implement audio_interruption metric for kCodecPlc 2021-02-11 09:37:24 +00:00
normal_unittest.cc Implement audio_interruption metric for kCodecPlc 2021-02-11 09:37:24 +00:00
packet.cc Reland "Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker."" 2019-07-24 16:47:13 +00:00
packet.h Move NetEq headers to api/ 2019-10-31 15:43:59 +00:00
packet_buffer.cc Add a "Smart flushing" feature to NetEq. 2020-11-26 11:20:28 +00:00
packet_buffer.h Add a "Smart flushing" feature to NetEq. 2020-11-26 11:20:28 +00:00
packet_buffer_unittest.cc Add a "Smart flushing" feature to NetEq. 2020-11-26 11:20:28 +00:00
post_decode_vad.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
post_decode_vad.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
post_decode_vad_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
preemptive_expand.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
preemptive_expand.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
random_vector.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
random_vector.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
random_vector_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
red_payload_splitter.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
red_payload_splitter.h red: ensure minimum amount of header bytes 2020-09-29 17:07:08 +00:00
red_payload_splitter_unittest.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
statistics_calculator.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
statistics_calculator.h Delete unused NetEq stats currentPacketLossRate, currentDiscardRate and addedSamples 2020-09-21 12:19:16 +00:00
statistics_calculator_unittest.cc Fix standard GetStats to not modify NetEq state. 2020-09-14 09:51:21 +00:00
sync_buffer.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
sync_buffer.h Format almost everything. 2019-07-08 13:45:15 +00:00
sync_buffer_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
time_stretch.cc Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
time_stretch.h Replace assert() with RTC_DCHECK(). 2021-07-09 07:49:43 +00:00
time_stretch_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
timestamp_scaler.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
timestamp_scaler.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
timestamp_scaler_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00