| Index: webrtc/modules/audio_coding/neteq/neteq_impl.h
|
| diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl.h b/webrtc/modules/audio_coding/neteq/neteq_impl.h
|
| index 75055a7b47fe54e18b4069e6506bd6abc1fc75d1..9228df625fe0204d76fcdeaaf1fddb6418010f78 100644
|
| --- a/webrtc/modules/audio_coding/neteq/neteq_impl.h
|
| +++ b/webrtc/modules/audio_coding/neteq/neteq_impl.h
|
| @@ -24,6 +24,7 @@
|
| #include "webrtc/modules/audio_coding/neteq/random_vector.h"
|
| #include "webrtc/modules/audio_coding/neteq/rtcp.h"
|
| #include "webrtc/modules/audio_coding/neteq/statistics_calculator.h"
|
| +#include "webrtc/modules/audio_coding/neteq/tick_timer.h"
|
| #include "webrtc/typedefs.h"
|
|
|
| namespace webrtc {
|
| @@ -68,6 +69,7 @@ class NetEqImpl : public webrtc::NetEq {
|
| // Creates a new NetEqImpl object. The object will assume ownership of all
|
| // injected dependencies, and will delete them when done.
|
| NetEqImpl(const NetEq::Config& config,
|
| + std::unique_ptr<TickTimer> tick_timer,
|
| BufferLevelFilter* buffer_level_filter,
|
| DecoderDatabase* decoder_database,
|
| DelayManager* delay_manager,
|
| @@ -328,6 +330,7 @@ class NetEqImpl : public webrtc::NetEq {
|
| virtual void CreateDecisionLogic() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_);
|
|
|
| rtc::CriticalSection crit_sect_;
|
| + const std::unique_ptr<TickTimer> tick_timer_ GUARDED_BY(crit_sect_);
|
| const std::unique_ptr<BufferLevelFilter> buffer_level_filter_
|
| GUARDED_BY(crit_sect_);
|
| const std::unique_ptr<DecoderDatabase> decoder_database_
|
| @@ -389,6 +392,8 @@ class NetEqImpl : public webrtc::NetEq {
|
| bool nack_enabled_ GUARDED_BY(crit_sect_);
|
| AudioFrame::VADActivity last_vad_activity_ GUARDED_BY(crit_sect_) =
|
| AudioFrame::kVadPassive;
|
| + std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_
|
| + GUARDED_BY(crit_sect_);
|
|
|
| private:
|
| RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl);
|
|
|