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

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

Issue 1636873005: blink: Fix naming and const-ness of constants and non-constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: constants: indents Created 4 years, 10 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // m_dbKnee is the number of dB above the threshold before we enter the "rat io" portion of the curve. 118 // m_dbKnee is the number of dB above the threshold before we enter the "rat io" portion of the curve.
119 // m_kneeThresholdDb = m_dbThreshold + m_dbKnee 119 // m_kneeThresholdDb = m_dbThreshold + m_dbKnee
120 // The portion between m_dbThreshold and m_kneeThresholdDb is the "soft knee " portion of the curve 120 // The portion between m_dbThreshold and m_kneeThresholdDb is the "soft knee " portion of the curve
121 // which transitions smoothly from the linear portion to the ratio portion. 121 // which transitions smoothly from the linear portion to the ratio portion.
122 float m_dbKnee; 122 float m_dbKnee;
123 float m_kneeThreshold; 123 float m_kneeThreshold;
124 float m_kneeThresholdDb; 124 float m_kneeThresholdDb;
125 float m_ykneeThresholdDb; 125 float m_ykneeThresholdDb;
126 126
127 // Internal parameter for the knee portion of the curve. 127 // Internal parameter for the knee portion of the curve.
128 float m_K; 128 float m_knee;
129 }; 129 };
130 130
131 } // namespace blink 131 } // namespace blink
132 132
133 #endif // DynamicsCompressorKernel_h 133 #endif // DynamicsCompressorKernel_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698