| Index: Source/modules/webaudio/BiquadDSPKernel.h
|
| diff --git a/Source/modules/webaudio/BiquadDSPKernel.h b/Source/modules/webaudio/BiquadDSPKernel.h
|
| index 528a8ea7ccac7db168d640f6843de94271529e1d..d0b12b332f005d283c54e7c10b7ea8a5733c5dbe 100644
|
| --- a/Source/modules/webaudio/BiquadDSPKernel.h
|
| +++ b/Source/modules/webaudio/BiquadDSPKernel.h
|
| @@ -62,12 +62,13 @@ protected:
|
|
|
| // To prevent audio glitches when parameters are changed,
|
| // dezippering is used to slowly change the parameters.
|
| - // |useSmoothing| implies that we want to update using the
|
| - // smoothed values. Otherwise the final target values are
|
| - // used. If |forceUpdate| is true, we update the coefficients even
|
| - // if they are not dirty. (Used when computing the frequency
|
| - // response.)
|
| - void updateCoefficientsIfNecessary(bool useSmoothing, bool forceUpdate);
|
| + void updateCoefficientsIfNecessary();
|
| + // Update the biquad cofficients with the given parameters
|
| + void updateCoefficients(double frequency, double Q, double gain, double detune);
|
| +
|
| +private:
|
| + // Synchronize process() with getting and setting the filter coefficients.
|
| + mutable Mutex m_processLock;
|
| };
|
|
|
| } // namespace WebCore
|
|
|