[Webkit-unassigned] [Bug 76685] Fix ASSERT fail within AudioBus::processWithGainFrom()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 30 18:00:15 PST 2012


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





--- Comment #11 from Raymond <rgbbones at gmail.com>  2012-01-30 18:00:15 PST ---

> We shouldn't use an "offline" AudioContext here because we're not actually looking at the rendered audio output and instead just want to make sure an ASSERT doesn't happen
> We should use a "regular" AudioContext instead:
> 
> var context = new webkitAudioContext();
> 
> 
> You can use "audionode.html" as an example.
> 
> > LayoutTests/webaudio/audionode-connect-order.html:64
> > +    context.startRendering();
> 
> Since we don't want to use an offline audio context, lines 63:64 can be removed.
> 
> and instead simply call finishJSTest() directly...

I am testing it, while I am wondering, this actually happens when the audio thread do its pull, so it will be an async process, if we don't have control on the stream, the finishJSTest() might be called before the ASSERT actually happens? that's why I choose the offline approaching at first, not for audio output but time control.

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