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

Side by Side Diff: webrtc/modules/audio_coding/neteq/tools/input_audio_file.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 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) 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/tools/input_audio_file.h" 11 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h"
12 12
13 #include "webrtc/rtc_base/checks.h" 13 #include "webrtc/base/checks.h"
14 14
15 namespace webrtc { 15 namespace webrtc {
16 namespace test { 16 namespace test {
17 17
18 InputAudioFile::InputAudioFile(const std::string file_name) { 18 InputAudioFile::InputAudioFile(const std::string file_name) {
19 fp_ = fopen(file_name.c_str(), "rb"); 19 fp_ = fopen(file_name.c_str(), "rb");
20 } 20 }
21 21
22 InputAudioFile::~InputAudioFile() { fclose(fp_); } 22 InputAudioFile::~InputAudioFile() { fclose(fp_); }
23 23
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // |source| and |destination| are the same array). 68 // |source| and |destination| are the same array).
69 for (int i = static_cast<int>(samples - 1); i >= 0; --i) { 69 for (int i = static_cast<int>(samples - 1); i >= 0; --i) {
70 for (int j = static_cast<int>(channels - 1); j >= 0; --j) { 70 for (int j = static_cast<int>(channels - 1); j >= 0; --j) {
71 destination[i * channels + j] = source[i]; 71 destination[i * channels + j] = source[i];
72 } 72 }
73 } 73 }
74 } 74 }
75 75
76 } // namespace test 76 } // namespace test
77 } // namespace webrtc 77 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698