• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3  *
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
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10 
11 #ifndef WEBRTC_VOICE_ENGINE_VOE_NETEQ_STATS_IMPL_H
12 #define WEBRTC_VOICE_ENGINE_VOE_NETEQ_STATS_IMPL_H
13 
14 #include "webrtc/voice_engine/include/voe_neteq_stats.h"
15 
16 #include "webrtc/common_types.h"
17 #include "webrtc/voice_engine/shared_data.h"
18 
19 namespace webrtc {
20 
21 class VoENetEqStatsImpl : public VoENetEqStats {
22  public:
23   int GetNetworkStatistics(int channel, NetworkStatistics& stats) override;
24 
25   int GetDecodingCallStatistics(int channel,
26                                 AudioDecodingCallStats* stats) const override;
27 
28  protected:
29   VoENetEqStatsImpl(voe::SharedData* shared);
30   ~VoENetEqStatsImpl() override;
31 
32  private:
33   voe::SharedData* _shared;
34 };
35 
36 }  // namespace webrtc
37 
38 #endif  // WEBRTC_VOICE_ENGINE_VOE_NETEQ_STATS_IMPL_H
39