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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/IIRProcessor.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/IIRProcessor.h" 5 #include "modules/webaudio/IIRProcessor.h"
6 6
7 #include <memory>
7 #include "modules/webaudio/IIRDSPKernel.h" 8 #include "modules/webaudio/IIRDSPKernel.h"
8 #include "wtf/PtrUtil.h" 9 #include "platform/wtf/PtrUtil.h"
9 #include <memory>
10 10
11 namespace blink { 11 namespace blink {
12 12
13 IIRProcessor::IIRProcessor(float sample_rate, 13 IIRProcessor::IIRProcessor(float sample_rate,
14 size_t number_of_channels, 14 size_t number_of_channels,
15 const Vector<double>& feedforward_coef, 15 const Vector<double>& feedforward_coef,
16 const Vector<double>& feedback_coef) 16 const Vector<double>& feedback_coef)
17 : AudioDSPKernelProcessor(sample_rate, number_of_channels) { 17 : AudioDSPKernelProcessor(sample_rate, number_of_channels) {
18 unsigned feedback_length = feedback_coef.size(); 18 unsigned feedback_length = feedback_coef.size();
19 unsigned feedforward_length = feedforward_coef.size(); 19 unsigned feedforward_length = feedforward_coef.size();
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 void IIRProcessor::GetFrequencyResponse(int n_frequencies, 82 void IIRProcessor::GetFrequencyResponse(int n_frequencies,
83 const float* frequency_hz, 83 const float* frequency_hz,
84 float* mag_response, 84 float* mag_response,
85 float* phase_response) { 85 float* phase_response) {
86 response_kernel_->GetFrequencyResponse(n_frequencies, frequency_hz, 86 response_kernel_->GetFrequencyResponse(n_frequencies, frequency_hz,
87 mag_response, phase_response); 87 mag_response, phase_response);
88 } 88 }
89 89
90 } // namespace blink 90 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698