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

Issue 2590983003: Remove input/source components from AudioDestination (Closed)

Created:
4 years ago by hongchan
Modified:
4 years ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, feature-media-reviews_chromium.org, jam, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, Raymond Toy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove input/source components from AudioDestination Based on the comment in the code and the investigation around it, we do not use sourceData meaningfully in the code. Considering the live input is done by gUM, we can safely remove this from the render call chain. This is the first part of refactoring/clean up of AudioDestination to support the new threading model of AudioWorkletNode. BUG=675988 TEST= Committed: https://crrev.com/1b679d7ce7918dd41e68e1170c7f6dfd4edcc4bd Cr-Commit-Position: refs/heads/master@{#440126}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -48 lines) Patch
M content/renderer/media/renderer_webaudiodevice_impl.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/audio/AudioDestination.h View 3 chunks +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/audio/AudioDestination.cpp View 6 chunks +2 lines, -33 lines 1 comment Download
M third_party/WebKit/Source/platform/exported/WebAudioDevice.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebAudioDevice.h View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
hongchan
PTAL. olka@ - content/media/renderer/* rtoy@ - webaudio
4 years ago (2016-12-20 20:38:34 UTC) #2
Raymond Toy
https://codereview.chromium.org/2590983003/diff/1/third_party/WebKit/Source/platform/audio/AudioDestination.cpp File third_party/WebKit/Source/platform/audio/AudioDestination.cpp (right): https://codereview.chromium.org/2590983003/diff/1/third_party/WebKit/Source/platform/audio/AudioDestination.cpp#newcode209 third_party/WebKit/Source/platform/audio/AudioDestination.cpp:209: m_callback.render(nullptr, bus, framesToProcess, outputPosition); Can this be updated to ...
4 years ago (2016-12-20 21:46:49 UTC) #3
hongchan
On 2016/12/20 21:46:49, Raymond Toy wrote: > https://codereview.chromium.org/2590983003/diff/1/third_party/WebKit/Source/platform/audio/AudioDestination.cpp > File third_party/WebKit/Source/platform/audio/AudioDestination.cpp (right): > > https://codereview.chromium.org/2590983003/diff/1/third_party/WebKit/Source/platform/audio/AudioDestination.cpp#newcode209 ...
4 years ago (2016-12-20 21:58:36 UTC) #4
Raymond Toy
lgtm for webaudio
4 years ago (2016-12-20 21:59:59 UTC) #5
DaleCurtis
olka's ooo, so media/ lgtm - thanks for cleaning this up!
4 years ago (2016-12-20 22:02:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2590983003/1
4 years ago (2016-12-21 00:17:51 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/330337)
4 years ago (2016-12-21 00:28:56 UTC) #15
hongchan
haraken@ Please review changes in */platform/*
4 years ago (2016-12-21 16:09:25 UTC) #17
haraken
LGTM
4 years ago (2016-12-21 16:30:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2590983003/1
4 years ago (2016-12-21 16:32:52 UTC) #20
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-21 16:38:52 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-21 16:43:00 UTC) #25
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1b679d7ce7918dd41e68e1170c7f6dfd4edcc4bd
Cr-Commit-Position: refs/heads/master@{#440126}

Powered by Google App Engine
This is Rietveld 408576698