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 Audio | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/70728404>
Peng Liu
*** This bug has been marked as a duplicate of bug 219818 ***