OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 #ifndef WEBRTC_VOICE_ENGINE_TEST_AUTO_TEST_FAKES_LOUDEST_FILTER_H_ | 11 #ifndef WEBRTC_VOICE_ENGINE_TEST_AUTO_TEST_FAKES_LOUDEST_FILTER_H_ |
12 #define WEBRTC_VOICE_ENGINE_TEST_AUTO_TEST_FAKES_LOUDEST_FILTER_H_ | 12 #define WEBRTC_VOICE_ENGINE_TEST_AUTO_TEST_FAKES_LOUDEST_FILTER_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include "webrtc/base/timeutils.h" | |
16 #include "webrtc/common_types.h" | 15 #include "webrtc/common_types.h" |
| 16 #include "webrtc/rtc_base/timeutils.h" |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 namespace voetest { | 19 namespace voetest { |
20 | 20 |
21 class LoudestFilter { | 21 class LoudestFilter { |
22 public: | 22 public: |
23 /* ForwardThisPacket() | 23 /* ForwardThisPacket() |
24 * Decide whether to forward a RTP packet, given its header. | 24 * Decide whether to forward a RTP packet, given its header. |
25 * | 25 * |
26 * Input: | 26 * Input: |
(...skipping 19 matching lines...) Expand all Loading... |
46 | 46 |
47 const int32_t kStreamTimeOutMs = 5000; | 47 const int32_t kStreamTimeOutMs = 5000; |
48 const size_t kMaxMixSize = 3; | 48 const size_t kMaxMixSize = 3; |
49 const int kInvalidAudioLevel = 128; | 49 const int kInvalidAudioLevel = 128; |
50 }; | 50 }; |
51 | 51 |
52 } // namespace voetest | 52 } // namespace voetest |
53 } // namespace webrtc | 53 } // namespace webrtc |
54 | 54 |
55 #endif // WEBRTC_VOICE_ENGINE_TEST_AUTO_TEST_FAKES_LOUDEST_FILTER_H_ | 55 #endif // WEBRTC_VOICE_ENGINE_TEST_AUTO_TEST_FAKES_LOUDEST_FILTER_H_ |
OLD | NEW |