Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Issue 2885483002: Expose WebThread rendering only when AudioWorklet flag is enabled (Closed)

Created:
3 years, 7 months ago by hongchan
Modified:
3 years, 7 months ago
Reviewers:
o1ka, Raymond Toy
CC:
chromium-reviews, blink-reviews, kinuko+watch, Raymond Toy
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose WebThread rendering only when AudioWorklet flag enabled The newly introduced WebThread audio rendering pipeline caused glitches on Linux platform. To reduce the glitch and also to continue the experiments for AudioWorklet, implement alternate render path for WebAudio by enabling WebThread rendering only when AudioWorklet flag is enabled. BUG=722384 TEST=Tested the local release build with/without "--enable-blink-features=Worklet,AudioWorklet" flag.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -37 lines) Patch
M third_party/WebKit/Source/platform/audio/AudioDestination.h View 4 chunks +11 lines, -9 lines 1 comment Download
M third_party/WebKit/Source/platform/audio/AudioDestination.cpp View 8 chunks +39 lines, -28 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
hongchan
PTAL.
3 years, 7 months ago (2017-05-15 17:22:40 UTC) #2
Raymond Toy
https://codereview.chromium.org/2885483002/diff/1/third_party/WebKit/Source/platform/audio/AudioDestination.h File third_party/WebKit/Source/platform/audio/AudioDestination.h (right): https://codereview.chromium.org/2885483002/diff/1/third_party/WebKit/Source/platform/audio/AudioDestination.h#newcode137 third_party/WebKit/Source/platform/audio/AudioDestination.h:137: // For signle thread rendering pipe line. "signle" And ...
3 years, 7 months ago (2017-05-15 17:42:24 UTC) #4
hongchan
3 years, 7 months ago (2017-05-15 20:57:32 UTC) #5
On 2017/05/15 17:42:24, Raymond Toy wrote:
>
https://codereview.chromium.org/2885483002/diff/1/third_party/WebKit/Source/p...
> File third_party/WebKit/Source/platform/audio/AudioDestination.h (right):
> 
>
https://codereview.chromium.org/2885483002/diff/1/third_party/WebKit/Source/p...
> third_party/WebKit/Source/platform/audio/AudioDestination.h:137: // For signle
> thread rendering pipe line.
> "signle"
> 
> And the comment doesn't really explain what is_audio_worklet_enabled seems to
> imply.  Fix the comment or the variable name.

olka@ 

FYI - this is our attempt to fix the glitches on linux platform, but we just
found out the glitches were coming from Jack installation on the machine.
I will just leave this CL here as a future reference.

Powered by Google App Engine
This is Rietveld 408576698