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

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

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc 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 #ifndef WEBRTC_COMMON_AUDIO_RESAMPLER_PUSH_SINC_RESAMPLER_H_ 11 #ifndef WEBRTC_COMMON_AUDIO_RESAMPLER_PUSH_SINC_RESAMPLER_H_
12 #define WEBRTC_COMMON_AUDIO_RESAMPLER_PUSH_SINC_RESAMPLER_H_ 12 #define WEBRTC_COMMON_AUDIO_RESAMPLER_PUSH_SINC_RESAMPLER_H_
13 13
14 #include <memory> 14 #include <memory>
15 15
16 #include "webrtc/base/constructormagic.h"
17 #include "webrtc/common_audio/resampler/sinc_resampler.h" 16 #include "webrtc/common_audio/resampler/sinc_resampler.h"
17 #include "webrtc/rtc_base/constructormagic.h"
18 #include "webrtc/typedefs.h" 18 #include "webrtc/typedefs.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 // A thin wrapper over SincResampler to provide a push-based interface as 22 // A thin wrapper over SincResampler to provide a push-based interface as
23 // required by WebRTC. SincResampler uses a pull-based interface, and will 23 // required by WebRTC. SincResampler uses a pull-based interface, and will
24 // use SincResamplerCallback::Run() to request data upon a call to Resample(). 24 // use SincResamplerCallback::Run() to request data upon a call to Resample().
25 // These Run() calls will happen on the same thread Resample() is called on. 25 // These Run() calls will happen on the same thread Resample() is called on.
26 class PushSincResampler : public SincResamplerCallback { 26 class PushSincResampler : public SincResamplerCallback {
27 public: 27 public:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // Used to assert we are only requested for as much data as is available. 69 // Used to assert we are only requested for as much data as is available.
70 size_t source_available_; 70 size_t source_available_;
71 71
72 RTC_DISALLOW_COPY_AND_ASSIGN(PushSincResampler); 72 RTC_DISALLOW_COPY_AND_ASSIGN(PushSincResampler);
73 }; 73 };
74 74
75 } // namespace webrtc 75 } // namespace webrtc
76 76
77 #endif // WEBRTC_COMMON_AUDIO_RESAMPLER_PUSH_SINC_RESAMPLER_H_ 77 #endif // WEBRTC_COMMON_AUDIO_RESAMPLER_PUSH_SINC_RESAMPLER_H_
OLDNEW
« no previous file with comments | « webrtc/common_audio/resampler/push_resampler_unittest.cc ('k') | webrtc/common_audio/resampler/push_sinc_resampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698