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

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

Issue 2389253002: reflow comments in modules/{webaudio,vr} (Closed)
Patch Set: . Created 4 years, 2 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) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 18 matching lines...) Expand all
29 #include "modules/webaudio/AudioNode.h" 29 #include "modules/webaudio/AudioNode.h"
30 #include "modules/webaudio/AudioParam.h" 30 #include "modules/webaudio/AudioParam.h"
31 #include "platform/audio/AudioDSPKernel.h" 31 #include "platform/audio/AudioDSPKernel.h"
32 #include "platform/audio/AudioDSPKernelProcessor.h" 32 #include "platform/audio/AudioDSPKernelProcessor.h"
33 #include "platform/audio/Biquad.h" 33 #include "platform/audio/Biquad.h"
34 #include "wtf/RefPtr.h" 34 #include "wtf/RefPtr.h"
35 #include <memory> 35 #include <memory>
36 36
37 namespace blink { 37 namespace blink {
38 38
39 // BiquadProcessor is an AudioDSPKernelProcessor which uses Biquad objects to im plement several common filters. 39 // BiquadProcessor is an AudioDSPKernelProcessor which uses Biquad objects to
40 // implement several common filters.
40 41
41 class BiquadProcessor final : public AudioDSPKernelProcessor { 42 class BiquadProcessor final : public AudioDSPKernelProcessor {
42 public: 43 public:
43 // This values are used in histograms and should not be renumbered or deleted. 44 // This values are used in histograms and should not be renumbered or deleted.
44 enum FilterType { 45 enum FilterType {
45 LowPass = 0, 46 LowPass = 0,
46 HighPass = 1, 47 HighPass = 1,
47 BandPass = 2, 48 BandPass = 2,
48 LowShelf = 3, 49 LowShelf = 3,
49 HighShelf = 4, 50 HighShelf = 4,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // so DSP kernels know when to re-compute coefficients 98 // so DSP kernels know when to re-compute coefficients
98 bool m_filterCoefficientsDirty; 99 bool m_filterCoefficientsDirty;
99 100
100 // Set to true if any of the filter parameters are sample-accurate. 101 // Set to true if any of the filter parameters are sample-accurate.
101 bool m_hasSampleAccurateValues; 102 bool m_hasSampleAccurateValues;
102 }; 103 };
103 104
104 } // namespace blink 105 } // namespace blink
105 106
106 #endif // BiquadProcessor_h 107 #endif // BiquadProcessor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698