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

Side by Side Diff: third_party/WebKit/Source/platform/audio/Biquad.h

Issue 2384073002: reflow comments in platform/audio (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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 private: 81 private:
82 void setNormalizedCoefficients(int, 82 void setNormalizedCoefficients(int,
83 double b0, 83 double b0,
84 double b1, 84 double b1,
85 double b2, 85 double b2,
86 double a0, 86 double a0,
87 double a1, 87 double a1,
88 double a2); 88 double a2);
89 89
90 // If true, the filter coefficients are (possibly) time-varying due to a timel ine automation on 90 // If true, the filter coefficients are (possibly) time-varying due to a
91 // at least one filter parameter. 91 // timeline automation on at least one filter parameter.
92 bool m_hasSampleAccurateValues; 92 bool m_hasSampleAccurateValues;
93 93
94 // Filter coefficients. The filter is defined as 94 // Filter coefficients. The filter is defined as
95 // 95 //
96 // y[n] + m_a1*y[n-1] + m_a2*y[n-2] = m_b0*x[n] + m_b1*x[n-1] + m_b2*x[n-2]. 96 // y[n] + m_a1*y[n-1] + m_a2*y[n-2] = m_b0*x[n] + m_b1*x[n-1] + m_b2*x[n-2].
97 AudioDoubleArray m_b0; 97 AudioDoubleArray m_b0;
98 AudioDoubleArray m_b1; 98 AudioDoubleArray m_b1;
99 AudioDoubleArray m_b2; 99 AudioDoubleArray m_b2;
100 AudioDoubleArray m_a1; 100 AudioDoubleArray m_a1;
101 AudioDoubleArray m_a2; 101 AudioDoubleArray m_a2;
(...skipping 12 matching lines...) Expand all
114 // Filter memory 114 // Filter memory
115 double m_x1; // input delayed by 1 sample 115 double m_x1; // input delayed by 1 sample
116 double m_x2; // input delayed by 2 samples 116 double m_x2; // input delayed by 2 samples
117 double m_y1; // output delayed by 1 sample 117 double m_y1; // output delayed by 1 sample
118 double m_y2; // output delayed by 2 samples 118 double m_y2; // output delayed by 2 samples
119 }; 119 };
120 120
121 } // namespace blink 121 } // namespace blink
122 122
123 #endif // Biquad_h 123 #endif // Biquad_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698