Chromium Code Reviews| Index: third_party/WebKit/Source/platform/audio/AudioUtilities.h |
| diff --git a/third_party/WebKit/Source/platform/audio/AudioUtilities.h b/third_party/WebKit/Source/platform/audio/AudioUtilities.h |
| index 1d3c5e5c3b3c73eba9270509853ea6f1bf5f24d8..f2a5cd50256df60d8f2abf900703103fbd9a8f29 100644 |
| --- a/third_party/WebKit/Source/platform/audio/AudioUtilities.h |
| +++ b/third_party/WebKit/Source/platform/audio/AudioUtilities.h |
| @@ -10,16 +10,17 @@ |
| * notice, this list of conditions and the following disclaimer in the |
| * documentation and/or other materials provided with the distribution. |
| * |
| - * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY |
| - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| - * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| + * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND |
| + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| + * ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE |
| + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH |
| + * DAMAGE. |
| */ |
| #ifndef AudioUtilities_h |
| @@ -32,7 +33,8 @@ |
| namespace blink { |
| namespace AudioUtilities { |
| -// Rendering quantum size. This is how many frames are processed at a time for each node in the |
| +// Rendering quantum size. This is how many frames are processed at a time for |
| +// each node in the |
|
dcheng
2016/10/03 01:21:04
Nit: merge next line
Nico
2016/10/03 02:15:23
Done.
|
| // audio graph. |
| static const unsigned kRenderQuantumFrames = 128; |
| @@ -42,7 +44,8 @@ PLATFORM_EXPORT float decibelsToLinear(float); |
| // timeConstant is the time it takes a first-order linear time-invariant system |
| // to reach the value 1 - 1/e (around 63.2%) given a step input response. |
| -// discreteTimeConstantForSampleRate() will return the discrete time-constant for the specific sampleRate. |
| +// discreteTimeConstantForSampleRate() will return the discrete time-constant |
| +// for the specific sampleRate. |
| PLATFORM_EXPORT double discreteTimeConstantForSampleRate(double timeConstant, |
| double sampleRate); |