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

Issue 384543002: Move bulk of media::AudioRendererImpl::Render() logic to media thread. (Closed)

Created:
6 years, 5 months ago by scherkus (not reviewing)
Modified:
5 years, 7 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Move bulk of media::AudioRendererImpl::Render() logic to media thread. r273571 moved running the time callback to the media thread. This change moves even more, resulting in less locking throughout the class. BUG=370634

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : use time_since_writing #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -124 lines) Patch
M media/filters/audio_renderer_impl.h View 1 2 5 chunks +18 lines, -10 lines 0 comments Download
M media/filters/audio_renderer_impl.cc View 1 2 10 chunks +92 lines, -100 lines 2 comments Download
M media/filters/audio_renderer_impl_unittest.cc View 1 2 8 chunks +8 lines, -14 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
scherkus (not reviewing)
Here's the next one. I'm still doing performance testing as this CL always posts a ...
6 years, 5 months ago (2014-07-10 17:10:40 UTC) #1
DaleCurtis
Haven't reviewed yet, but I suspect this will impact the dropped frames count for 2160p/4K ...
6 years, 5 months ago (2014-07-10 19:15:02 UTC) #2
DaleCurtis
https://codereview.chromium.org/384543002/diff/20001/media/filters/audio_renderer_impl.cc File media/filters/audio_renderer_impl.cc (right): https://codereview.chromium.org/384543002/diff/20001/media/filters/audio_renderer_impl.cc#newcode546 media/filters/audio_renderer_impl.cc:546: DVLOG(2) << __FUNCTION__; Probably you should remove this, or ...
6 years, 5 months ago (2014-07-10 23:37:00 UTC) #3
DaleCurtis
lgtm % nits. Again, I'd monitor the dropped frame counts carefully.
6 years, 5 months ago (2014-07-10 23:37:37 UTC) #4
DaleCurtis
(also comments from last PS seem unaddressed) https://codereview.chromium.org/384543002/diff/40001/media/filters/audio_renderer_impl.cc File media/filters/audio_renderer_impl.cc (right): https://codereview.chromium.org/384543002/diff/40001/media/filters/audio_renderer_impl.cc#newcode609 media/filters/audio_renderer_impl.cc:609: audio_clock_->CurrentMediaTimestamp(base::TimeDelta()) == ...
6 years, 5 months ago (2014-07-15 19:25:28 UTC) #5
scherkus (not reviewing)
Yeah I'm going to hold off landing this until I land some other CLs. I'll ...
6 years, 5 months ago (2014-07-15 20:14:23 UTC) #6
DaleCurtis
6 years, 5 months ago (2014-07-15 20:16:20 UTC) #7
If using time since writing causes it to signal sooner than later, there may be
bugs in the latency information as constructed by AudioOutputResampler, etc, so
let me know if that's the case so I can hunt them down.

Powered by Google App Engine
This is Rietveld 408576698