Bug 217969

Summary: [Media in GPU Process] Reduce the number of RequestBuffer IPC messages for AudioDestination
Product: WebKit Reporter: Peng Liu <peng.liu6>
Component: Web AudioAssignee: Peng Liu <peng.liu6>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cdumez, eric.carlson, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=219715

Peng Liu
Reported 2020-10-20 10:34:44 PDT
Currently, for every rendering request (to render 128 samples) from the audio output unit, RemoteAudioDestination::render() sends an IPC message RemoteAudioDestinationProxy::RequestBuffer to RemoteAudioDestinationProxy in the Web process. That is unnecessary and inefficient. Since RemoteAudioDestination and RemoteAudioDestinationProxy use a ring buffer to transfer audio samples, we can "combine" multiple rendering requests in one IPC message. Hopefully, that will significantly reduce the number of IPC messages.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-10-27 10:35:15 PDT
Peng Liu
Comment 2 2020-12-16 13:52:32 PST
*** This bug has been marked as a duplicate of bug 219818 ***
Note You need to log in before you can comment on or make changes to this bug.