Skip to content
  • commit-queue@webkit.org's avatar
    noteGrainOn needs more tests · e49b5036
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=77225
    
    Patch by Raymond Toy <rtoy@google.com> on 2012-02-02
    Reviewed by Kenneth Russell.
    
    * webaudio/note-grain-on-play.html: Added.
    * webaudio/note-grain-on-play-expected.txt: Added.
    * webaudio/note-grain-on-timing.html: Refactored to use new
    functions in note-grain-on-testing.js.
    * webaudio/note-grain-on-timing-expected.txt: Updated.
    * webaudio/resources/audio-testing.js:
    (grainLengthInSampleFrames):  Utility to compute length of a grain
    in samples.
    * webaudio/resources/note-grain-on-testing.js: Added.
    (createSignalBuffer):
    (findStartAndEndSamples):
    (playGrain):
    (playAllGrains):
    (verifyStarAndtEndTimes): Common functions for note-grain-on-play and
    note-grain-on-timing tests to use.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e49b5036