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

Side by Side Diff: webrtc/modules/audio_coding/neteq/decision_logic_normal.cc

Issue 1417683006: modules: more interface -> include renames (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix last incorrectly wrapped pragma message Created 5 years, 1 month 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 #include "webrtc/modules/audio_coding/neteq/decision_logic_normal.h" 11 #include "webrtc/modules/audio_coding/neteq/decision_logic_normal.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 14
15 #include <algorithm> 15 #include <algorithm>
16 16
17 #include "webrtc/modules/audio_coding/neteq/buffer_level_filter.h" 17 #include "webrtc/modules/audio_coding/neteq/buffer_level_filter.h"
18 #include "webrtc/modules/audio_coding/neteq/decoder_database.h" 18 #include "webrtc/modules/audio_coding/neteq/decoder_database.h"
19 #include "webrtc/modules/audio_coding/neteq/delay_manager.h" 19 #include "webrtc/modules/audio_coding/neteq/delay_manager.h"
20 #include "webrtc/modules/audio_coding/neteq/expand.h" 20 #include "webrtc/modules/audio_coding/neteq/expand.h"
21 #include "webrtc/modules/audio_coding/neteq/packet_buffer.h" 21 #include "webrtc/modules/audio_coding/neteq/packet_buffer.h"
22 #include "webrtc/modules/audio_coding/neteq/sync_buffer.h" 22 #include "webrtc/modules/audio_coding/neteq/sync_buffer.h"
23 #include "webrtc/modules/interface/module_common_types.h" 23 #include "webrtc/modules/include/module_common_types.h"
24 24
25 namespace webrtc { 25 namespace webrtc {
26 26
27 Operations DecisionLogicNormal::GetDecisionSpecialized( 27 Operations DecisionLogicNormal::GetDecisionSpecialized(
28 const SyncBuffer& sync_buffer, 28 const SyncBuffer& sync_buffer,
29 const Expand& expand, 29 const Expand& expand,
30 size_t decoder_frame_length, 30 size_t decoder_frame_length,
31 const RTPHeader* packet_header, 31 const RTPHeader* packet_header,
32 Modes prev_mode, 32 Modes prev_mode,
33 bool play_dtmf, 33 bool play_dtmf,
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool DecisionLogicNormal::PacketTooEarly(uint32_t timestamp_leap) const { 229 bool DecisionLogicNormal::PacketTooEarly(uint32_t timestamp_leap) const {
230 return timestamp_leap > 230 return timestamp_leap >
231 static_cast<uint32_t>(output_size_samples_ * num_consecutive_expands_); 231 static_cast<uint32_t>(output_size_samples_ * num_consecutive_expands_);
232 } 232 }
233 233
234 bool DecisionLogicNormal::MaxWaitForPacket() const { 234 bool DecisionLogicNormal::MaxWaitForPacket() const {
235 return num_consecutive_expands_ >= kMaxWaitForPacket; 235 return num_consecutive_expands_ >= kMaxWaitForPacket;
236 } 236 }
237 237
238 } // namespace webrtc 238 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/main/test/target_delay_unittest.cc ('k') | webrtc/modules/audio_coding/neteq/delay_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698