Skip to content
  • crogers@google.com's avatar
    BiquadFilterNode must take audio-rate parameter changes into account · 04bd8fcc
    crogers@google.com authored
    https://bugs.webkit.org/show_bug.cgi?id=97369
    
    Reviewed by Kenneth Russell.
    
    BiquadFilterNode is currently ignoring any timeline or audio-rate changes to its parameters.
    We now check if any of its parameters have timeline or audio-rate changes and, if so, take
    them into account.  Otherwise, we use ordinary parameter smoothing/de-zippering which is
    the case when the parameters are adjusted, for example, from a knob or slider in the UI.
    
    * Modules/webaudio/BiquadDSPKernel.cpp:
    (WebCore::BiquadDSPKernel::updateCoefficientsIfNecessary):
    * Modules/webaudio/BiquadProcessor.cpp:
    (WebCore::BiquadProcessor::checkForDirtyCoefficients):
    * Modules/webaudio/BiquadProcessor.h:
    (WebCore::BiquadProcessor::hasSampleAccurateValues):
    (BiquadProcessor):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    04bd8fcc