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

Side by Side Diff: webrtc/modules/audio_processing/transient/click_annotate.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! 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 <cfloat> 11 #include <cfloat>
12 #include <cstdio> 12 #include <cstdio>
13 #include <cstdlib> 13 #include <cstdlib>
14 #include <vector> 14 #include <vector>
15 15
16 #include "webrtc/modules/audio_processing/transient/transient_detector.h" 16 #include "webrtc/modules/audio_processing/transient/transient_detector.h"
17 #include "webrtc/modules/audio_processing/transient/file_utils.h" 17 #include "webrtc/modules/audio_processing/transient/file_utils.h"
18 #include "webrtc/base/scoped_ptr.h" 18 #include "webrtc/base/scoped_ptr.h"
19 #include "webrtc/system_wrappers/interface/file_wrapper.h" 19 #include "webrtc/system_wrappers/include/file_wrapper.h"
20 20
21 using rtc::scoped_ptr; 21 using rtc::scoped_ptr;
22 using webrtc::FileWrapper; 22 using webrtc::FileWrapper;
23 using webrtc::TransientDetector; 23 using webrtc::TransientDetector;
24 24
25 // Application to generate a RTP timing file. 25 // Application to generate a RTP timing file.
26 // Opens the PCM file and divides the signal in frames. 26 // Opens the PCM file and divides the signal in frames.
27 // Creates a send times array, one for each step. 27 // Creates a send times array, one for each step.
28 // Each block that contains a transient, has an infinite send time. 28 // Each block that contains a transient, has an infinite send time.
29 // The resultant array is written to a DAT file 29 // The resultant array is written to a DAT file
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 if (floats_written == 0) { 105 if (floats_written == 0) {
106 printf("\nThe send times could not be written to DAT file\n\n"); 106 printf("\nThe send times could not be written to DAT file\n\n");
107 return -1; 107 return -1;
108 } 108 }
109 109
110 pcm_file->CloseFile(); 110 pcm_file->CloseFile();
111 dat_file->CloseFile(); 111 dat_file->CloseFile();
112 112
113 return lost_packets; 113 return lost_packets;
114 } 114 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/three_band_filter_bank.h ('k') | webrtc/modules/audio_processing/transient/file_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698