[Webkit-unassigned] [Bug 36466] audio engine: add Reverb class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 30 07:28:37 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36466





--- Comment #11 from Jeremy Orlow <jorlow at chromium.org>  2010-03-30 07:28:36 PST ---
(In reply to comment #10)
> > Is it possible for the normalization scale to ever ben 0?  If so, is there some
> > better default action we can take here?
> 
> It is possible if the user un-intentionally (or intentionally in some cases)
> loads up an impulse response which represents "dead silence".  In this case,
> the code will work correctly (do the mathematically correct thing)  and
> generate silent output.  That said, there is the opportunity for an
> optimization in this case (avoid doing the convolution altogether and simply
> note this edge case and zero out the destination buffers directly).  But I
> think the case is rare enough that an optimization isn't really necessary and
> would actually make the code a little harder to read.

Please put a concise comment about the divide by zero case and the fact that it
needn't be normalized because the algorithm will generate silence anyway.

-- 
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