webrtc/common_audio
Timothy Gu 3111783aa1 Organize iLBC headers as per style guide
Prior to this commit, most .c files in modules/audio_coding/codecs/ilbc
don't include their corresponding headers, nor do they order #includes
as per the Google Style Guide [1]. The former is especially harmful,
since in C it can silently allow the function signature to diverge from
its prototype, thus causing disaster at runtime.

This CL fixes both issues. In effect, this allows the common_audio and
modules/audio_coding:ilbc targets to be compiled with Clang's
-Wmissing-prototypes, though this CL does not add that change.

[1]: https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes

Bug: webrtc:12314
Change-Id: I8299968ed3cc86ff35d9de045072b846298043af
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/198362
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Timothy Gu <timothygu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#32896}
2020-12-31 20:57:18 +00:00
..
include Removing all external access to the integer sample data in AudioBuffer 2019-08-20 08:36:47 +00:00
mocks In common_audio/ and modules/audio_* replace mock macros with unified MOCK_METHOD macro 2020-05-20 13:17:31 +00:00
resampler Delete stringize macros. 2020-09-30 13:58:29 +00:00
signal_processing Organize iLBC headers as per style guide 2020-12-31 20:57:18 +00:00
third_party Refactor cpu_features_wrapper.h functions from C to C++. 2020-09-07 08:44:24 +00:00
vad In common_audio/ and modules/audio_* replace mock macros with unified MOCK_METHOD macro 2020-05-20 13:17:31 +00:00
audio_converter.cc ClangTidy fixes for common_audio/ 2019-03-15 00:43:12 +00:00
audio_converter.h Format almost everything. 2019-07-08 13:45:15 +00:00
audio_converter_unittest.cc Add RTC_ prefix to non-standard format specifier macro "PRIdNS" 2019-08-07 13:36:05 +00:00
audio_util.cc Removing all external access to the integer sample data in AudioBuffer 2019-08-20 08:36:47 +00:00
audio_util_unittest.cc Reland of Correct conversion between float and fixed formats 2019-08-19 12:15:07 +00:00
BUILD.gn Reland "Merge cpu_features build targets into //system_wrappers." 2020-09-06 10:38:23 +00:00
channel_buffer.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
channel_buffer.h Optimizations and refactoring of the APM 3-band split filter 2020-02-24 13:19:14 +00:00
channel_buffer_unittest.cc Rename several more tests that use EXPECT_DEATH to *DeathTest. 2020-05-18 16:10:04 +00:00
DEPS Removing openmax_dl 2018-05-07 12:12:04 +00:00
fir_filter.h Fix circular deps in common_audio. 2017-11-17 11:20:17 +00:00
fir_filter_avx2.cc Reland "Activating AVX2 support by default" 2020-10-03 22:37:13 +00:00
fir_filter_avx2.h Support AVX2/FMA intrinsics in audio FIR filter 2020-08-19 10:21:31 +00:00
fir_filter_c.cc Format almost everything. 2019-07-08 13:45:15 +00:00
fir_filter_c.h Format almost everything. 2019-07-08 13:45:15 +00:00
fir_filter_factory.cc Refactor cpu_features_wrapper.h functions from C to C++. 2020-09-07 08:44:24 +00:00
fir_filter_factory.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
fir_filter_neon.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
fir_filter_neon.h Move aligned memory utilities to rtc_base/memory/ 2018-03-22 14:13:24 +00:00
fir_filter_sse.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
fir_filter_sse.h Format almost everything. 2019-07-08 13:45:15 +00:00
fir_filter_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
OWNERS Remove kwiberg@webrtc.org from OWNERS files 2020-12-04 15:11:26 +00:00
real_fourier.cc Removing warning suppression flags in common_audio/. 2018-07-04 11:13:09 +00:00
real_fourier.h Format almost everything. 2019-07-08 13:45:15 +00:00
real_fourier_ooura.cc Reland "Unify OOURA implementations in one directory." 2020-04-20 16:08:19 +00:00
real_fourier_ooura.h Reland "Unify OOURA implementations in one directory." 2020-04-20 16:08:19 +00:00
real_fourier_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
ring_buffer.c Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ring_buffer.h Moving LappedTransform, Blocker and AudioRingBuffer. 2018-08-31 15:27:50 +00:00
ring_buffer_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
smoothing_filter.cc Format almost everything. 2019-07-08 13:45:15 +00:00
smoothing_filter.h Delete macros RTC_DISALLOW_ASSIGN and RTC_DISALLOW_IMPLICIT_CONSTRUCTORS 2020-09-29 10:19:20 +00:00
smoothing_filter_unittest.cc Use newer version of TimeDelta and TimeStamp factories in webrtc 2020-02-10 12:21:17 +00:00
wav_file.cc Add floating point support for writing and reading wav files 2020-01-30 13:38:19 +00:00
wav_file.h Add floating point support for writing and reading wav files 2020-01-30 13:38:19 +00:00
wav_file_unittest.cc Add floating point support for writing and reading wav files 2020-01-30 13:38:19 +00:00
wav_header.cc Introduce RTC_CHECK_NOTREACHED(), an always-checking RTC_NOTREACHED() 2020-11-09 10:47:55 +00:00
wav_header.h Add floating point support for writing and reading wav files 2020-01-30 13:38:19 +00:00
wav_header_unittest.cc Add floating point support for writing and reading wav files 2020-01-30 13:38:19 +00:00
window_generator.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
window_generator.h Delete macros RTC_DISALLOW_ASSIGN and RTC_DISALLOW_IMPLICIT_CONSTRUCTORS 2020-09-29 10:19:20 +00:00
window_generator_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00