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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 30 17:53:28 PST 2012


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





--- Comment #10 from Chris Rogers <crogers at google.com>  2012-01-30 17:53:28 PST ---
(From update of attachment 124633)
View in context: https://bugs.webkit.org/attachment.cgi?id=124633&action=review

> LayoutTests/webaudio/audionode-connect-order.html:43
> +    var context = new webkitAudioContext(1, sampleRate * renderLengthSeconds, sampleRate);

Sorry, I should have caught this the first time...

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

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