webrtc/modules/audio_coding/neteq
Ivo Creusen 5a78eae780 Initialize variables to measure preemptive expansion and acceleration
The variables that are used to track the amount of preemptive expansion
and acceleration are not initialized before being passed to their
respective functions. However, these function can fail in certain cases,
and when they do the uninitialized memory will pollute the NetEq statistics.

Bug: chromium:1140376
Change-Id: I004fbaaf8d24de01dd1997fb73bdf93ca88ceaaf
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/191480
Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32544}
2020-11-04 08:35:28 +00:00
..
mock Remove deprecated PacketArrived method from NetEqController interface. 2020-10-27 14:58:52 +00:00
test Delete unused NetEq stats currentPacketLossRate, currentDiscardRate and addedSamples 2020-09-21 12:19:16 +00:00
tools Reset NetEq simulation step time if a large gap is detected. 2020-10-28 16:24:41 +00:00
accelerate.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +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 Reland "Reland "Default enable WebRTC-SendSideBwe-WithOverhead."" 2020-11-02 11:05:56 +00:00
audio_multi_vector.cc Let NetEq use the PLC output from a decoder 2018-09-14 07:05:20 +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 Delete root header file typedef.h. 2018-07-25 14:59:26 +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 NetEQ: BackgroundNoise::Update returns true when the filter is updated 2019-06-28 10:11:33 +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 Reland "Reland "Refactor NetEq delay manager logic."" 2020-10-09 13:05:46 +00:00
buffer_level_filter.h Reland "Reland "Refactor NetEq delay manager logic."" 2020-10-09 13:05:46 +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 Format almost everything. 2019-07-08 13:45:15 +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 Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
cross_correlation.h [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
decision_logic.cc Add NetEq decision logic unit tests. 2020-10-19 08:38:02 +00:00
decision_logic.h Add NetEq decision logic unit tests. 2020-10-19 08:38:02 +00:00
decision_logic_unittest.cc Add NetEq decision logic unit tests. 2020-10-19 08:38:02 +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 Fully qualify googletest symbols. 2019-04-09 17:18:20 +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 Reland "Reland "Refactor NetEq delay manager logic."" 2020-10-09 13:05:46 +00:00
delay_manager.h Reland "Reland "Refactor NetEq delay manager logic."" 2020-10-09 13:05:46 +00:00
delay_manager_unittest.cc Reland "Reland "Refactor NetEq delay manager logic."" 2020-10-09 13:05:46 +00:00
dsp_helper.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +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 NetEq: Fix bug in PLC for multi-channel audio 2019-12-02 17:44:58 +00:00
expand.h Format almost everything. 2019-07-08 13:45:15 +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 slave -> helper, master -> reference 2020-06-29 12:18:05 +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 Format almost everything. 2019-07-08 13:45:15 +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 Reland "Enable using a custom NetEqFactory in simulations" 2020-01-20 12:46:34 +00:00
neteq_impl.cc Initialize variables to measure preemptive expansion and acceleration 2020-11-04 08:35:28 +00:00
neteq_impl.h Fix standard GetStats to not modify NetEq state. 2020-09-14 09:51:21 +00:00
neteq_impl_unittest.cc Signal to NetEq Controller if arrived packets are DTX packets. 2020-10-15 08:22:03 +00:00
neteq_network_stats_unittest.cc Delete unused NetEq stats currentPacketLossRate, currentDiscardRate and addedSamples 2020-09-21 12:19:16 +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 Reland "Reland "Refactor NetEq delay manager logic."" 2020-10-09 13:05:46 +00:00
neteq_unittest.proto Delete unused NetEq stats currentPacketLossRate, currentDiscardRate and addedSamples 2020-09-21 12:19:16 +00:00
normal.cc Move NetEq headers to api/ 2019-10-31 15:43:59 +00:00
normal.h Move NetEq headers to api/ 2019-10-31 15:43:59 +00:00
normal_unittest.cc Move NetEq headers to api/ 2019-10-31 15:43:59 +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 Move NetEq headers to api/ 2019-10-31 15:43:59 +00:00
packet_buffer.h Improve buffer level estimation with DTX and add CNG time stretching. 2019-07-03 15:12:09 +00:00
packet_buffer_unittest.cc In common_audio/ and modules/audio_* replace mock macros with unified MOCK_METHOD macro 2020-05-20 13:17:31 +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 Improve neteq_rtp_fuzzer 2020-09-29 20:24:07 +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 red: ensure minimum amount of header bytes 2020-09-29 17:07:08 +00:00
statistics_calculator.cc Delete unused NetEq stats currentPacketLossRate, currentDiscardRate and addedSamples 2020-09-21 12:19:16 +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 Format almost everything. 2019-07-08 13:45:15 +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 slave -> helper, master -> reference 2020-06-29 12:18:05 +00:00
time_stretch.h Replace slave -> helper, master -> reference 2020-06-29 12:18:05 +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