Delete voice_engine_configurations.h

The file was aldready pruned down to the point where it only included
webrtc/typedefs.h. Therefore, all includes of
voice_engine_configurations.h are replaced with typedefs.h, except on
two occasions where it was obvously not needed.

BUG=webrtc:6506

Review-Url: https://codereview.webrtc.org/2553583002
Cr-Commit-Position: refs/heads/master@{#15547}
This commit is contained in:
henrik.lundin
2016-12-12 05:03:02 -08:00
committed by Commit bot
parent ba7e71b53a
commit a9a6d4bc2c
31 changed files with 19 additions and 50 deletions

View File

@ -334,7 +334,6 @@ rtc_static_library("webrtc_common") {
"config.cc", "config.cc",
"config.h", "config.h",
"typedefs.h", "typedefs.h",
"voice_engine_configurations.h",
] ]
if (!build_with_chromium && is_clang) { if (!build_with_chromium && is_clang) {

View File

@ -19,7 +19,7 @@
#include "webrtc/common_types.h" #include "webrtc/common_types.h"
#include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" #include "webrtc/modules/audio_coding/acm2/rent_a_codec.h"
#include "webrtc/modules/audio_coding/neteq/include/neteq.h" #include "webrtc/modules/audio_coding/neteq/include/neteq.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace webrtc { namespace webrtc {

View File

@ -11,7 +11,7 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_COMMON_DEFS_H_ #ifndef WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_COMMON_DEFS_H_
#define WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_COMMON_DEFS_H_ #define WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_COMMON_DEFS_H_
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
// Checks for enabled codecs, we prevent enabling codecs which are not // Checks for enabled codecs, we prevent enabling codecs which are not
// compatible. // compatible.

View File

@ -27,7 +27,6 @@
#include "webrtc/modules/audio_coding/neteq/include/neteq.h" #include "webrtc/modules/audio_coding/neteq/include/neteq.h"
#include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/include/module_common_types.h"
#include "webrtc/typedefs.h" #include "webrtc/typedefs.h"
#include "webrtc/voice_engine_configurations.h"
namespace webrtc { namespace webrtc {

View File

@ -14,7 +14,7 @@
#include "webrtc/base/format_macros.h" #include "webrtc/base/format_macros.h"
#include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" #include "webrtc/modules/audio_coding/acm2/rent_a_codec.h"
#include "webrtc/system_wrappers/include/trace.h" #include "webrtc/system_wrappers/include/trace.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace webrtc { namespace webrtc {
namespace acm2 { namespace acm2 {

View File

@ -20,7 +20,6 @@
#endif #endif
#include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" #include "webrtc/modules/audio_coding/acm2/rent_a_codec.h"
#include "webrtc/typedefs.h" #include "webrtc/typedefs.h"
#include "webrtc/voice_engine_configurations.h"
namespace webrtc { namespace webrtc {

View File

@ -29,7 +29,7 @@
#include "webrtc/system_wrappers/include/trace.h" #include "webrtc/system_wrappers/include/trace.h"
#include "webrtc/test/gtest.h" #include "webrtc/test/gtest.h"
#include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace webrtc { namespace webrtc {

View File

@ -23,7 +23,7 @@
#include "webrtc/system_wrappers/include/rw_lock_wrapper.h" #include "webrtc/system_wrappers/include/rw_lock_wrapper.h"
// TODO(tlegrand): Consider removing usage of gtest. // TODO(tlegrand): Consider removing usage of gtest.
#include "webrtc/test/gtest.h" #include "webrtc/test/gtest.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace webrtc { namespace webrtc {

View File

@ -23,7 +23,6 @@
#include "webrtc/test/gtest.h" #include "webrtc/test/gtest.h"
#include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/typedefs.h" #include "webrtc/typedefs.h"
#include "webrtc/voice_engine_configurations.h"
// Description of the test: // Description of the test:
// In this test we set up a one-way communication channel from a participant // In this test we set up a one-way communication channel from a participant

View File

@ -18,7 +18,7 @@
#include "webrtc/modules/audio_coding/test/utility.h" #include "webrtc/modules/audio_coding/test/utility.h"
#include "webrtc/system_wrappers/include/trace.h" #include "webrtc/system_wrappers/include/trace.h"
#include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
#ifdef SUPPORT_RED_WB #ifdef SUPPORT_RED_WB
#undef SUPPORT_RED_WB #undef SUPPORT_RED_WB

View File

@ -21,7 +21,7 @@
#include "webrtc/system_wrappers/include/trace.h" #include "webrtc/system_wrappers/include/trace.h"
#include "webrtc/test/gtest.h" #include "webrtc/test/gtest.h"
#include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace webrtc { namespace webrtc {

View File

@ -16,7 +16,7 @@
#include "webrtc/modules/audio_coding/test/PCMFile.h" #include "webrtc/modules/audio_coding/test/PCMFile.h"
#include "webrtc/modules/audio_coding/test/utility.h" #include "webrtc/modules/audio_coding/test/utility.h"
#include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace webrtc { namespace webrtc {

View File

@ -28,7 +28,7 @@
#include "webrtc/system_wrappers/include/trace.h" #include "webrtc/system_wrappers/include/trace.h"
#include "webrtc/test/gtest.h" #include "webrtc/test/gtest.h"
#include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace webrtc { namespace webrtc {

View File

@ -26,7 +26,7 @@
#include "webrtc/system_wrappers/include/event_wrapper.h" #include "webrtc/system_wrappers/include/event_wrapper.h"
#include "webrtc/test/gtest.h" #include "webrtc/test/gtest.h"
#include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
DEFINE_string(codec, "isac", "Codec Name"); DEFINE_string(codec, "isac", "Codec Name");
DEFINE_int32(sample_rate_hz, 16000, "Sampling rate in Hertz."); DEFINE_int32(sample_rate_hz, 16000, "Sampling rate in Hertz.");

View File

@ -23,7 +23,7 @@
#include "webrtc/system_wrappers/include/trace.h" #include "webrtc/system_wrappers/include/trace.h"
#include "webrtc/test/gtest.h" #include "webrtc/test/gtest.h"
#include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace webrtc { namespace webrtc {

View File

@ -19,7 +19,7 @@
#include "webrtc/modules/audio_conference_mixer/source/memory_pool.h" #include "webrtc/modules/audio_conference_mixer/source/memory_pool.h"
#include "webrtc/modules/audio_conference_mixer/source/time_scheduler.h" #include "webrtc/modules/audio_conference_mixer/source/time_scheduler.h"
#include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/include/module_common_types.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace webrtc { namespace webrtc {
class AudioProcessing; class AudioProcessing;

View File

@ -22,7 +22,7 @@
#include "webrtc/modules/audio_processing/include/audio_processing.h" #include "webrtc/modules/audio_processing/include/audio_processing.h"
#include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/include/module_common_types.h"
#include "webrtc/system_wrappers/include/critical_section_wrapper.h" #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace webrtc { namespace webrtc {

View File

@ -13,7 +13,6 @@
#include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/include/module_common_types.h"
#include "webrtc/typedefs.h" #include "webrtc/typedefs.h"
#include "webrtc/voice_engine_configurations.h"
namespace webrtc { namespace webrtc {
// Callback class for the MediaFile class. // Callback class for the MediaFile class.

View File

@ -21,7 +21,7 @@
#include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/include/module_common_types.h"
#include "webrtc/system_wrappers/include/file_wrapper.h" #include "webrtc/system_wrappers/include/file_wrapper.h"
#include "webrtc/system_wrappers/include/trace.h" #include "webrtc/system_wrappers/include/trace.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
namespace { namespace {

View File

@ -16,7 +16,6 @@
#include "webrtc/common_types.h" #include "webrtc/common_types.h"
#include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/include/module_common_types.h"
#include "webrtc/typedefs.h" #include "webrtc/typedefs.h"
#include "webrtc/voice_engine_configurations.h"
namespace webrtc { namespace webrtc {

View File

@ -17,7 +17,6 @@
#include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/include/module_common_types.h"
#include "webrtc/modules/media_file/media_file_defines.h" #include "webrtc/modules/media_file/media_file_defines.h"
#include "webrtc/typedefs.h" #include "webrtc/typedefs.h"
#include "webrtc/voice_engine_configurations.h"
namespace webrtc { namespace webrtc {

View File

@ -18,7 +18,6 @@
#include "webrtc/system_wrappers/include/critical_section_wrapper.h" #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
#include "webrtc/system_wrappers/include/logging.h" #include "webrtc/system_wrappers/include/logging.h"
#include "webrtc/typedefs.h" #include "webrtc/typedefs.h"
#include "webrtc/voice_engine_configurations.h"
namespace webrtc { namespace webrtc {

View File

@ -22,7 +22,6 @@
#include "webrtc/system_wrappers/include/event_wrapper.h" #include "webrtc/system_wrappers/include/event_wrapper.h"
#include "webrtc/system_wrappers/include/logging.h" #include "webrtc/system_wrappers/include/logging.h"
#include "webrtc/typedefs.h" #include "webrtc/typedefs.h"
#include "webrtc/voice_engine_configurations.h"
namespace webrtc { namespace webrtc {

View File

@ -14,7 +14,7 @@
#include "webrtc/common_types.h" #include "webrtc/common_types.h"
#include "webrtc/test/gmock.h" #include "webrtc/test/gmock.h"
#include "webrtc/test/gtest.h" #include "webrtc/test/gtest.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
#include "webrtc/voice_engine/include/voe_audio_processing.h" #include "webrtc/voice_engine/include/voe_audio_processing.h"
#include "webrtc/voice_engine/include/voe_base.h" #include "webrtc/voice_engine/include/voe_base.h"
#include "webrtc/voice_engine/include/voe_codec.h" #include "webrtc/voice_engine/include/voe_codec.h"

View File

@ -15,13 +15,13 @@
#include <string.h> #include <string.h>
#include "webrtc/system_wrappers/include/event_wrapper.h" #include "webrtc/system_wrappers/include/event_wrapper.h"
#include "webrtc/typedefs.h"
#include "webrtc/voice_engine/include/voe_neteq_stats.h" #include "webrtc/voice_engine/include/voe_neteq_stats.h"
#include "webrtc/voice_engine/test/auto_test/automated_mode.h" #include "webrtc/voice_engine/test/auto_test/automated_mode.h"
#include "webrtc/voice_engine/test/auto_test/voe_cpu_test.h" #include "webrtc/voice_engine/test/auto_test/voe_cpu_test.h"
#include "webrtc/voice_engine/test/auto_test/voe_stress_test.h" #include "webrtc/voice_engine/test/auto_test/voe_stress_test.h"
#include "webrtc/voice_engine/test/auto_test/voe_test_defines.h" #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h"
#include "webrtc/voice_engine/voice_engine_defines.h" #include "webrtc/voice_engine/voice_engine_defines.h"
#include "webrtc/voice_engine_configurations.h"
DEFINE_bool(include_timing_dependent_tests, true, DEFINE_bool(include_timing_dependent_tests, true,
"If true, we will include tests / parts of tests that are known " "If true, we will include tests / parts of tests that are known "

View File

@ -25,9 +25,6 @@
#define TEST_LOG_FLUSH fflush(NULL) #define TEST_LOG_FLUSH fflush(NULL)
#endif #endif
// Read WEBRTC_VOICE_ENGINE_XXX_API compiler flags
#include "webrtc/voice_engine_configurations.h"
// Time in ms to test each packet size for each codec // Time in ms to test each packet size for each codec
#define CODEC_TEST_TIME 400 #define CODEC_TEST_TIME 400

View File

@ -13,9 +13,6 @@
#include "webrtc/voice_engine/test/auto_test/voe_test_common.h" #include "webrtc/voice_engine/test/auto_test/voe_test_common.h"
// Read WEBRTC_VOICE_ENGINE_XXX_API compiler flags
#include "webrtc/voice_engine_configurations.h"
// Select the tests to execute, list order below is same as they will be // Select the tests to execute, list order below is same as they will be
// executed. Note that, all settings below will be overriden by sub-API // executed. Note that, all settings below will be overriden by sub-API
// settings in voice_engine_configurations.h. // settings in voice_engine_configurations.h.

View File

@ -24,6 +24,7 @@
#include "webrtc/test/gtest.h" #include "webrtc/test/gtest.h"
#include "webrtc/test/testsupport/fileutils.h" #include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/test/testsupport/trace_to_stderr.h" #include "webrtc/test/testsupport/trace_to_stderr.h"
#include "webrtc/typedefs.h"
#include "webrtc/voice_engine/include/voe_audio_processing.h" #include "webrtc/voice_engine/include/voe_audio_processing.h"
#include "webrtc/voice_engine/include/voe_base.h" #include "webrtc/voice_engine/include/voe_base.h"
#include "webrtc/voice_engine/include/voe_codec.h" #include "webrtc/voice_engine/include/voe_codec.h"
@ -37,7 +38,6 @@
#include "webrtc/voice_engine/include/voe_video_sync.h" #include "webrtc/voice_engine/include/voe_video_sync.h"
#include "webrtc/voice_engine/include/voe_volume_control.h" #include "webrtc/voice_engine/include/voe_volume_control.h"
#include "webrtc/voice_engine/test/channel_transport/channel_transport.h" #include "webrtc/voice_engine/test/channel_transport/channel_transport.h"
#include "webrtc/voice_engine_configurations.h"
DEFINE_bool(use_log_file, false, DEFINE_bool(use_log_file, false,
"Output logs to a file; by default they will be printed to stderr."); "Output logs to a file; by default they will be printed to stderr.");

View File

@ -18,7 +18,7 @@
#include "webrtc/common_types.h" #include "webrtc/common_types.h"
#include "webrtc/modules/audio_processing/include/audio_processing.h" #include "webrtc/modules/audio_processing/include/audio_processing.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Enumerators // Enumerators

View File

@ -14,7 +14,7 @@
#include <memory> #include <memory>
#include "webrtc/system_wrappers/include/atomic32.h" #include "webrtc/system_wrappers/include/atomic32.h"
#include "webrtc/voice_engine_configurations.h" #include "webrtc/typedefs.h"
#include "webrtc/voice_engine/voe_base_impl.h" #include "webrtc/voice_engine/voe_base_impl.h"
#include "webrtc/voice_engine/voe_audio_processing_impl.h" #include "webrtc/voice_engine/voe_audio_processing_impl.h"
#include "webrtc/voice_engine/voe_codec_impl.h" #include "webrtc/voice_engine/voe_codec_impl.h"

View File

@ -1,16 +0,0 @@
/*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef WEBRTC_VOICE_ENGINE_CONFIGURATIONS_H_
#define WEBRTC_VOICE_ENGINE_CONFIGURATIONS_H_
#include "webrtc/typedefs.h"
#endif // WEBRTC_VOICE_ENGINE_CONFIGURATIONS_H_