-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=74273 Patch by Raymond Toy <rtoy@google.com> on 2012-02-02 Reviewed by Kenneth Russell. Source/WebCore: Tests: webaudio/distance-exponential.html webaudio/distance-inverse.html webaudio/distance-linear.html * webaudio/AudioPannerNode.h: Define enum for the new constants for the distance models. * webaudio/AudioPannerNode.idl: Define matching constants for the distance models. LayoutTests: * webaudio/distance-exponential-expected.txt: Added. * webaudio/distance-exponential.html: Added. * webaudio/distance-inverse-expected.txt: Added. * webaudio/distance-inverse.html: Added. * webaudio/distance-linear-expected.txt: Added. * webaudio/distance-linear.html: Added. * webaudio/resources/distance-model-testing.js: Added. (createImpulseBuffer): (linearDistance): (exponentialDistance): (inverseDistance): (createGraph): (startSources): (equalPowerGain): (checkDistanceResult.return.renderedBuffer): (checkDistanceResult): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
edaf0757