Commit 7712a9a8 authored by crogers@google.com's avatar crogers@google.com
Browse files

2011-02-15 Chris Rogers <crogers@google.com>

        Reviewed by Kenneth Russell.

        Fix race condition in JavaScriptAudioNode
        https://bugs.webkit.org/show_bug.cgi?id=54518

        No new tests since audio API is not yet implemented.

        * webaudio/JavaScriptAudioNode.cpp:
        (WebCore::JavaScriptAudioNode::process):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3abb12ea
2011-02-15 Chris Rogers <crogers@google.com>
Reviewed by Kenneth Russell.
Fix race condition in JavaScriptAudioNode
https://bugs.webkit.org/show_bug.cgi?id=54518
No new tests since audio API is not yet implemented.
* webaudio/JavaScriptAudioNode.cpp:
(WebCore::JavaScriptAudioNode::process):
2011-02-10 Jeremy Orlow <jorlow@chromium.org>
 
Reviewed by Nate Chapin.
......@@ -205,8 +205,8 @@ void JavaScriptAudioNode::process(size_t framesToProcess)
// Fire the event on the main thread, not this one (which is the realtime audio thread).
m_doubleBufferIndexForEvent = m_doubleBufferIndex;
callOnMainThread(fireProcessEventDispatch, this);
m_isRequestOutstanding = true;
callOnMainThread(fireProcessEventDispatch, this);
}
swapBuffers();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment