[Webkit-unassigned] [Bug 78854] New: DelayNode has inaccurate delay
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 16 15:56:35 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=78854
Summary: DelayNode has inaccurate delay
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Audio
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rtoy at chromium.org
CC: crogers at google.com
In the delaynode.html layout test, if you change delayTimeSeconds (in resources/delay-testingjs), to 0.53, the test fails.
This is because the javascript code expects the delayed signal to start at frame 23373 (= 0.53 * 44100) but the rendered data actually starts at 23372. I think this is due to roundoff. The delay time is an AudioParam, which takes float values. 0.53f * 44100 = 23372.998. Perhaps rounding the starting time to the nearest sample will fix this issue.
(It should probably be a rule in the tests not to use nice "round" numbers for timing values.)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list