| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2  *  Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 
| 3  * | 3  * | 
| 4  *  Use of this source code is governed by a BSD-style license | 4  *  Use of this source code is governed by a BSD-style license | 
| 5  *  that can be found in the LICENSE file in the root of the source | 5  *  that can be found in the LICENSE file in the root of the source | 
| 6  *  tree. An additional intellectual property rights grant can be found | 6  *  tree. An additional intellectual property rights grant can be found | 
| 7  *  in the file PATENTS.  All contributing project authors may | 7  *  in the file PATENTS.  All contributing project authors may | 
| 8  *  be found in the AUTHORS file in the root of the source tree. | 8  *  be found in the AUTHORS file in the root of the source tree. | 
| 9  */ | 9  */ | 
| 10 | 10 | 
| 11 #include "webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h" | 11 #include "webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h" | 
| 12 | 12 | 
| 13 #include <algorithm> | 13 #include <algorithm> | 
| 14 #include <iterator> | 14 #include <iterator> | 
| 15 | 15 | 
|  | 16 #include "webrtc/base/analytics/exp_filter.h" | 
| 16 #include "webrtc/base/checks.h" | 17 #include "webrtc/base/checks.h" | 
| 17 #include "webrtc/base/exp_filter.h" |  | 
| 18 #include "webrtc/base/safe_conversions.h" | 18 #include "webrtc/base/safe_conversions.h" | 
| 19 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" | 
| 20 #include "webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adapto
     r_impl.h" | 20 #include "webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adapto
     r_impl.h" | 
| 21 #include "webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h
     " | 21 #include "webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h
     " | 
| 22 #include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" | 22 #include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" | 
| 23 #include "webrtc/system_wrappers/include/clock.h" | 23 #include "webrtc/system_wrappers/include/clock.h" | 
| 24 | 24 | 
| 25 namespace webrtc { | 25 namespace webrtc { | 
| 26 | 26 | 
| 27 namespace { | 27 namespace { | 
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 490   AudioNetworkAdaptorImpl::Config config; | 490   AudioNetworkAdaptorImpl::Config config; | 
| 491   config.clock = clock; | 491   config.clock = clock; | 
| 492   return std::unique_ptr<AudioNetworkAdaptor>(new AudioNetworkAdaptorImpl( | 492   return std::unique_ptr<AudioNetworkAdaptor>(new AudioNetworkAdaptorImpl( | 
| 493       config, ControllerManagerImpl::Create( | 493       config, ControllerManagerImpl::Create( | 
| 494                   config_string, NumChannels(), supported_frame_lengths_ms(), | 494                   config_string, NumChannels(), supported_frame_lengths_ms(), | 
| 495                   num_channels_to_encode_, next_frame_length_ms_, | 495                   num_channels_to_encode_, next_frame_length_ms_, | 
| 496                   GetTargetBitrate(), config_.fec_enabled, GetDtx(), clock))); | 496                   GetTargetBitrate(), config_.fec_enabled, GetDtx(), clock))); | 
| 497 } | 497 } | 
| 498 | 498 | 
| 499 }  // namespace webrtc | 499 }  // namespace webrtc | 
| OLD | NEW | 
|---|