| 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..ccb70083ff9cf98940639fcf5c9a368416e20fa3 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,8 +33,8 @@
|
| namespace blink {
|
| namespace AudioUtilities {
|
|
|
| -// Rendering quantum size. This is how many frames are processed at a time for each node in the
|
| -// audio graph.
|
| +// Rendering quantum size. This is how many frames are processed at a time for
|
| +// each node in the audio graph.
|
| static const unsigned kRenderQuantumFrames = 128;
|
|
|
| // Standard functions for converting to and from decibel values from linear.
|
| @@ -42,7 +43,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);
|
|
|
|
|