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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/IIRDSPKernel.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/webaudio/IIRDSPKernel.h" 5 #include "modules/webaudio/IIRDSPKernel.h"
6 6
7 #include "wtf/MathExtras.h" 7 #include "platform/wtf/MathExtras.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
11 void IIRDSPKernel::Process(const float* source, 11 void IIRDSPKernel::Process(const float* source,
12 float* destination, 12 float* destination,
13 size_t frames_to_process) { 13 size_t frames_to_process) {
14 DCHECK(source); 14 DCHECK(source);
15 DCHECK(destination); 15 DCHECK(destination);
16 16
17 iir_.Process(source, destination, frames_to_process); 17 iir_.Process(source, destination, frames_to_process);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // the magnitude of r is greater than or equal to 1, the infinity is the right 49 // the magnitude of r is greater than or equal to 1, the infinity is the right
50 // answer. (There is no constraint on the IIR filter that it be stable.) 50 // answer. (There is no constraint on the IIR filter that it be stable.)
51 return std::numeric_limits<double>::infinity(); 51 return std::numeric_limits<double>::infinity();
52 } 52 }
53 53
54 double IIRDSPKernel::LatencyTime() const { 54 double IIRDSPKernel::LatencyTime() const {
55 return 0; 55 return 0;
56 } 56 }
57 57
58 } // namespace blink 58 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/GainNode.h ('k') | third_party/WebKit/Source/modules/webaudio/IIRFilterNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698