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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/IIRProcessor.h

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 #ifndef IIRProcessor_h 5 #ifndef IIRProcessor_h
6 #define IIRProcessor_h 6 #define IIRProcessor_h
7 7
8 #include <memory>
8 #include "modules/webaudio/AudioNode.h" 9 #include "modules/webaudio/AudioNode.h"
9 #include "platform/audio/AudioDSPKernel.h" 10 #include "platform/audio/AudioDSPKernel.h"
10 #include "platform/audio/AudioDSPKernelProcessor.h" 11 #include "platform/audio/AudioDSPKernelProcessor.h"
11 #include "platform/audio/IIRFilter.h" 12 #include "platform/audio/IIRFilter.h"
12 #include <memory>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class IIRDSPKernel; 16 class IIRDSPKernel;
17 17
18 class IIRProcessor final : public AudioDSPKernelProcessor { 18 class IIRProcessor final : public AudioDSPKernelProcessor {
19 public: 19 public:
20 IIRProcessor(float sample_rate, 20 IIRProcessor(float sample_rate,
21 size_t number_of_channels, 21 size_t number_of_channels,
22 const Vector<double>& feedforward_coef, 22 const Vector<double>& feedforward_coef,
(...skipping 20 matching lines...) Expand all
43 // The feedback and feedforward filter coefficients for the IIR filter. 43 // The feedback and feedforward filter coefficients for the IIR filter.
44 AudioDoubleArray feedback_; 44 AudioDoubleArray feedback_;
45 AudioDoubleArray feedforward_; 45 AudioDoubleArray feedforward_;
46 // This holds the IIR kernel for computing the frequency response. 46 // This holds the IIR kernel for computing the frequency response.
47 std::unique_ptr<IIRDSPKernel> response_kernel_; 47 std::unique_ptr<IIRDSPKernel> response_kernel_;
48 }; 48 };
49 49
50 } // namespace blink 50 } // namespace blink
51 51
52 #endif // IIRProcessor_h 52 #endif // IIRProcessor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698