blob: 74b624b19ce629fce06f087ba4db1217604747f7 [file] [log] [blame]
niklase@google.com470e71d2011-07-07 08:21:25 +00001/*
tommi@webrtc.org851becd2012-04-04 14:57:19 +00002 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
niklase@google.com470e71d2011-07-07 08:21:25 +00003 *
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
pbos@webrtc.org956aa7e2013-05-21 13:52:32 +000014#include "webrtc/voice_engine/include/voe_neteq_stats.h"
niklase@google.com470e71d2011-07-07 08:21:25 +000015
wu@webrtc.org24301a62013-12-13 19:17:43 +000016#include "webrtc/common_types.h"
pbos@webrtc.org956aa7e2013-05-21 13:52:32 +000017#include "webrtc/voice_engine/shared_data.h"
niklase@google.com470e71d2011-07-07 08:21:25 +000018
19namespace webrtc {
20
tommi@webrtc.orga990e122012-04-26 15:28:22 +000021class VoENetEqStatsImpl : public VoENetEqStats
niklase@google.com470e71d2011-07-07 08:21:25 +000022{
23public:
niklase@google.com470e71d2011-07-07 08:21:25 +000024 virtual int GetNetworkStatistics(int channel,
25 NetworkStatistics& stats);
26
wu@webrtc.org24301a62013-12-13 19:17:43 +000027 virtual int GetDecodingCallStatistics(
28 int channel, AudioDecodingCallStats* stats) const;
29
niklase@google.com470e71d2011-07-07 08:21:25 +000030protected:
tommi@webrtc.org851becd2012-04-04 14:57:19 +000031 VoENetEqStatsImpl(voe::SharedData* shared);
niklase@google.com470e71d2011-07-07 08:21:25 +000032 virtual ~VoENetEqStatsImpl();
tommi@webrtc.org851becd2012-04-04 14:57:19 +000033
34private:
35 voe::SharedData* _shared;
niklase@google.com470e71d2011-07-07 08:21:25 +000036};
37
38} // namespace webrtc
39
40#endif // WEBRTC_VOICE_ENGINE_VOE_NETEQ_STATS_IMPL_H