Make ACMCodecDB private to RentACodec
BUG=webrtc:5028 Review URL: https://codereview.webrtc.org/1414203010 Cr-Commit-Position: refs/heads/master@{#10549}
This commit is contained in:
@ -27,7 +27,7 @@ namespace acm2 {
|
|||||||
|
|
||||||
// TODO(tlegrand): replace class ACMCodecDB with a namespace.
|
// TODO(tlegrand): replace class ACMCodecDB with a namespace.
|
||||||
class ACMCodecDB {
|
class ACMCodecDB {
|
||||||
private:
|
public:
|
||||||
// kMaxNumCodecs - Maximum number of codecs that can be activated in one
|
// kMaxNumCodecs - Maximum number of codecs that can be activated in one
|
||||||
// build.
|
// build.
|
||||||
// kMaxNumPacketSize - Maximum number of allowed packet sizes for one codec.
|
// kMaxNumPacketSize - Maximum number of allowed packet sizes for one codec.
|
||||||
@ -74,8 +74,6 @@ class ACMCodecDB {
|
|||||||
static const CodecInst database_[kMaxNumCodecs];
|
static const CodecInst database_[kMaxNumCodecs];
|
||||||
static const CodecSettings codec_settings_[kMaxNumCodecs];
|
static const CodecSettings codec_settings_[kMaxNumCodecs];
|
||||||
static const NetEqDecoder neteq_decoders_[kMaxNumCodecs];
|
static const NetEqDecoder neteq_decoders_[kMaxNumCodecs];
|
||||||
|
|
||||||
friend class RentACodec;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace acm2
|
} // namespace acm2
|
||||||
|
|||||||
@ -19,7 +19,6 @@
|
|||||||
#include "webrtc/common_audio/vad/include/webrtc_vad.h"
|
#include "webrtc/common_audio/vad/include/webrtc_vad.h"
|
||||||
#include "webrtc/engine_configurations.h"
|
#include "webrtc/engine_configurations.h"
|
||||||
#include "webrtc/modules/audio_coding/main/include/audio_coding_module.h"
|
#include "webrtc/modules/audio_coding/main/include/audio_coding_module.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/acm_codec_database.h"
|
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/acm_resampler.h"
|
#include "webrtc/modules/audio_coding/main/acm2/acm_resampler.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/call_statistics.h"
|
#include "webrtc/modules/audio_coding/main/acm2/call_statistics.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/initial_delay_manager.h"
|
#include "webrtc/modules/audio_coding/main/acm2/initial_delay_manager.h"
|
||||||
|
|||||||
@ -16,7 +16,6 @@
|
|||||||
#include "webrtc/base/scoped_ptr.h"
|
#include "webrtc/base/scoped_ptr.h"
|
||||||
#include "webrtc/modules/audio_coding/main/include/audio_coding_module.h"
|
#include "webrtc/modules/audio_coding/main/include/audio_coding_module.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.h"
|
#include "webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/acm_codec_database.h"
|
|
||||||
#include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h"
|
#include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h"
|
||||||
#include "webrtc/system_wrappers/include/clock.h"
|
#include "webrtc/system_wrappers/include/clock.h"
|
||||||
#include "webrtc/test/test_suite.h"
|
#include "webrtc/test/test_suite.h"
|
||||||
|
|||||||
@ -18,7 +18,6 @@
|
|||||||
#include "webrtc/base/thread_annotations.h"
|
#include "webrtc/base/thread_annotations.h"
|
||||||
#include "webrtc/common_types.h"
|
#include "webrtc/common_types.h"
|
||||||
#include "webrtc/engine_configurations.h"
|
#include "webrtc/engine_configurations.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/acm_codec_database.h"
|
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/acm_receiver.h"
|
#include "webrtc/modules/audio_coding/main/acm2/acm_receiver.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/acm_resampler.h"
|
#include "webrtc/modules/audio_coding/main/acm2/acm_resampler.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/codec_manager.h"
|
#include "webrtc/modules/audio_coding/main/acm2/codec_manager.h"
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "webrtc/base/checks.h"
|
#include "webrtc/base/checks.h"
|
||||||
#include "webrtc/engine_configurations.h"
|
#include "webrtc/engine_configurations.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/acm_codec_database.h"
|
#include "webrtc/modules/audio_coding/main/acm2/rent_a_codec.h"
|
||||||
#include "webrtc/system_wrappers/include/trace.h"
|
#include "webrtc/system_wrappers/include/trace.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
#include "webrtc/base/maybe.h"
|
#include "webrtc/base/maybe.h"
|
||||||
#include "webrtc/common_types.h"
|
#include "webrtc/common_types.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/acm_codec_database.h"
|
|
||||||
#include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs.h"
|
#include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs.h"
|
||||||
#include "webrtc/modules/audio_coding/neteq/include/neteq.h"
|
#include "webrtc/modules/audio_coding/neteq/include/neteq.h"
|
||||||
#include "webrtc/modules/include/module.h"
|
#include "webrtc/modules/include/module.h"
|
||||||
|
|||||||
@ -19,7 +19,6 @@
|
|||||||
#include "webrtc/engine_configurations.h"
|
#include "webrtc/engine_configurations.h"
|
||||||
#include "webrtc/modules/audio_coding/codecs/opus/include/opus_interface.h"
|
#include "webrtc/modules/audio_coding/codecs/opus/include/opus_interface.h"
|
||||||
#include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs.h"
|
#include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs.h"
|
||||||
#include "webrtc/modules/audio_coding/main/acm2/acm_codec_database.h"
|
|
||||||
#include "webrtc/modules/audio_coding/main/test/TestStereo.h"
|
#include "webrtc/modules/audio_coding/main/test/TestStereo.h"
|
||||||
#include "webrtc/modules/audio_coding/main/test/utility.h"
|
#include "webrtc/modules/audio_coding/main/test/utility.h"
|
||||||
#include "webrtc/system_wrappers/include/trace.h"
|
#include "webrtc/system_wrappers/include/trace.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user