Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: webrtc/modules/audio_coding/neteq/mock/mock_delay_manager.h

Issue 2408653002: NetEq: Convert AverageIAT from int to float calculations (Closed)
Patch Set: Taking care of review comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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
(...skipping 17 matching lines...) Expand all
28 MOCK_CONST_METHOD0(iat_vector, 28 MOCK_CONST_METHOD0(iat_vector,
29 const IATVector&()); 29 const IATVector&());
30 MOCK_METHOD3(Update, 30 MOCK_METHOD3(Update,
31 int(uint16_t sequence_number, uint32_t timestamp, int sample_rate_hz)); 31 int(uint16_t sequence_number, uint32_t timestamp, int sample_rate_hz));
32 MOCK_METHOD1(CalculateTargetLevel, 32 MOCK_METHOD1(CalculateTargetLevel,
33 int(int iat_packets)); 33 int(int iat_packets));
34 MOCK_METHOD1(SetPacketAudioLength, 34 MOCK_METHOD1(SetPacketAudioLength,
35 int(int length_ms)); 35 int(int length_ms));
36 MOCK_METHOD0(Reset, 36 MOCK_METHOD0(Reset,
37 void()); 37 void());
38 MOCK_CONST_METHOD0(AverageIAT,
39 int());
40 MOCK_CONST_METHOD0(PeakFound, 38 MOCK_CONST_METHOD0(PeakFound,
41 bool()); 39 bool());
42 MOCK_METHOD1(UpdateCounters, 40 MOCK_METHOD1(UpdateCounters,
43 void(int elapsed_time_ms)); 41 void(int elapsed_time_ms));
44 MOCK_METHOD0(ResetPacketIatCount, 42 MOCK_METHOD0(ResetPacketIatCount,
45 void()); 43 void());
46 MOCK_CONST_METHOD2(BufferLimits, 44 MOCK_CONST_METHOD2(BufferLimits,
47 void(int* lower_limit, int* higher_limit)); 45 void(int* lower_limit, int* higher_limit));
48 MOCK_CONST_METHOD0(TargetLevel, 46 MOCK_CONST_METHOD0(TargetLevel,
49 int()); 47 int());
50 MOCK_METHOD1(set_extra_delay_ms, 48 MOCK_METHOD1(set_extra_delay_ms,
51 void(int16_t delay)); 49 void(int16_t delay));
52 MOCK_CONST_METHOD0(base_target_level, 50 MOCK_CONST_METHOD0(base_target_level,
53 int()); 51 int());
54 MOCK_METHOD1(set_streaming_mode, 52 MOCK_METHOD1(set_streaming_mode,
55 void(bool value)); 53 void(bool value));
56 MOCK_CONST_METHOD0(last_pack_cng_or_dtmf, 54 MOCK_CONST_METHOD0(last_pack_cng_or_dtmf,
57 int()); 55 int());
58 MOCK_METHOD1(set_last_pack_cng_or_dtmf, 56 MOCK_METHOD1(set_last_pack_cng_or_dtmf,
59 void(int value)); 57 void(int value));
60 }; 58 };
61 59
62 } // namespace webrtc 60 } // namespace webrtc
63 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DELAY_MANAGER_H_ 61 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DELAY_MANAGER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/delay_manager.cc ('k') | webrtc/modules/audio_coding/neteq/neteq_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698