startRendering() will fail to run when called again. The background is that, I wrote two test cases in offline mode(they shared the same audio context), the one after another finished one failed to run startRendering(). OfflineAudioDestinationNode should reset the flag of m_startedRendering after finishing rendering.
Created attachment 138748 [details] Patch
Hi Xingnan, it's not intended for an OfflineAudioContext to be able to start rendering more than once. It goes through distinct stages during its life, finally calling back the JS completion function. You can always create a 2nd or 3rd OfflineAudioContext if you need to do more work, but the original one can't be re-used. The OfflineAudioContext is not yet in the spec, but I will add it there soon, describing this.
Comment on attachment 138748 [details] Patch Clearing review flag on patches from before 2014. If this patch is still relevant, please reset the r? flag.