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

Side by Side Diff: webrtc/common_audio/resampler/sinc_resampler.h

Issue 1665603003: Move gtest_prod_util.h out of webrtc/test tree. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 10 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
« no previous file with comments | « webrtc/common_audio/channel_buffer.h ('k') | webrtc/modules/audio_coding/neteq/nack.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Modified from the Chromium original here: 11 // Modified from the Chromium original here:
12 // src/media/base/sinc_resampler.h 12 // src/media/base/sinc_resampler.h
13 13
14 #ifndef WEBRTC_COMMON_AUDIO_RESAMPLER_SINC_RESAMPLER_H_ 14 #ifndef WEBRTC_COMMON_AUDIO_RESAMPLER_SINC_RESAMPLER_H_
15 #define WEBRTC_COMMON_AUDIO_RESAMPLER_SINC_RESAMPLER_H_ 15 #define WEBRTC_COMMON_AUDIO_RESAMPLER_SINC_RESAMPLER_H_
16 16
17 #include "webrtc/base/constructormagic.h" 17 #include "webrtc/base/constructormagic.h"
18 #include "webrtc/base/gtest_prod_util.h"
18 #include "webrtc/base/scoped_ptr.h" 19 #include "webrtc/base/scoped_ptr.h"
19 #include "webrtc/system_wrappers/include/aligned_malloc.h" 20 #include "webrtc/system_wrappers/include/aligned_malloc.h"
20 #include "webrtc/test/testsupport/gtest_prod_util.h"
21 #include "webrtc/typedefs.h" 21 #include "webrtc/typedefs.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 // Callback class for providing more data into the resampler. Expects |frames| 25 // Callback class for providing more data into the resampler. Expects |frames|
26 // of data to be rendered into |destination|; zero padded if not enough frames 26 // of data to be rendered into |destination|; zero padded if not enough frames
27 // are available to satisfy the request. 27 // are available to satisfy the request.
28 class SincResamplerCallback { 28 class SincResamplerCallback {
29 public: 29 public:
30 virtual ~SincResamplerCallback() {} 30 virtual ~SincResamplerCallback() {}
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 float* const r2_; 161 float* const r2_;
162 float* r3_; 162 float* r3_;
163 float* r4_; 163 float* r4_;
164 164
165 RTC_DISALLOW_COPY_AND_ASSIGN(SincResampler); 165 RTC_DISALLOW_COPY_AND_ASSIGN(SincResampler);
166 }; 166 };
167 167
168 } // namespace webrtc 168 } // namespace webrtc
169 169
170 #endif // WEBRTC_COMMON_AUDIO_RESAMPLER_SINC_RESAMPLER_H_ 170 #endif // WEBRTC_COMMON_AUDIO_RESAMPLER_SINC_RESAMPLER_H_
OLDNEW
« no previous file with comments | « webrtc/common_audio/channel_buffer.h ('k') | webrtc/modules/audio_coding/neteq/nack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698