Summary: | Fix the caculation of preDelayFrames in DynamicsCompressorKernel | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Raymond <rgbbones> | ||||
Component: | Web Audio | Assignee: | Raymond <rgbbones> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | crogers, dbates, kbr, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Raymond
2012-02-07 16:51:01 PST
Created attachment 125957 [details]
Patch
Hi Chris Without this patch, the DynamicsCompressorNode actually don't have any predelay applied for the compressor since the preDelayFrames will always be 0. Please help to take a review ;) (In reply to comment #2) > Hi Chris > > Without this patch, the DynamicsCompressorNode actually don't have any predelay applied for the compressor since the preDelayFrames will always be 0. Please help to take a review ;) oh, though preDelayFrames will always be 0, due to the fact that the read is done before write, the actual preDelayFrame applied is 1024 not 0 Comment on attachment 125957 [details]
Patch
Wow - good catch! That was really a bad one...
Comment on attachment 125957 [details] Patch Clearing flags on attachment: 125957 Committed r107172: <http://trac.webkit.org/changeset/107172> All reviewed patches have been landed. Closing bug. |