Bug 1473469 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

For the sake of the JS implementation (see bug 1458448) and for simplicity in GraphDriver, we'd like to run the MediaStreamGraph on a single thread.

The sensible way to do this would be to modify AudioIPC's API to allow the
client to specify the thread.  This project is therefore dependent on bug
1362220.

Rendering audio with the new AudioIPC API could look something like:

   while (WaitCode::StartRendering == stream->Wait()) {

      (buffer_ptr, bytes_to_render) = stream->BeginRender();

      graph->Render(buffer_ptr, bytes_to_render);

      stream->EndRender();
   }
For the sake of the JS implementation (see bug 1458448) and for simplicity in GraphDriver, we'd like to run the MediaStreamGraph on a single thread.

The sensible way to do this would be to modify AudioIPC's API to allow the
client to specify the thread.  This project is therefore dependent on bug 1362220.

Rendering audio with the new AudioIPC API could look something like:

   while (WaitCode::StartRendering == stream->Wait()) {

      (buffer_ptr, bytes_to_render) = stream->BeginRender();

      graph->Render(buffer_ptr, bytes_to_render);

      stream->EndRender();
   }

Back to Bug 1473469 Comment 0