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

Issue 7253003: Change audio renderer to communicate with host using low latency codepath. (Closed)

Created:
9 years, 6 months ago by enal
Modified:
9 years, 5 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, sjl, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., jam, joi+watch-content_chromium.org, acolwell+watch_chromium.org, annacc, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing)
Visibility:
Public.

Description

Change audio renderer to communicate with host using low latency codepath. I.e. now host signals that it is ready to accept new data using sockets, not IPC messages. That should reduce audio latency. Right now we are using high latency code path by default, low latency would be used only when flag --enable-low-latency-audio is specified. Changed unit tests to test low latency code path, as it should become default soon. http://codereview.chromium.org/7253003 BUG=http://code.google.com/p/chromium/issues/detail?id=87640 TEST=Everything should just work. I changed audio_renderer_impl_unittest.cc to explicitly force low latency code path. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91727

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 26

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 3

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -32 lines) Patch
M content/browser/renderer_host/browser_render_process_host.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/common/content_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/common/content_switches.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/audio_renderer_impl.h View 1 2 3 4 5 chunks +36 lines, -0 lines 0 comments Download
M content/renderer/media/audio_renderer_impl.cc View 1 2 3 4 5 10 chunks +121 lines, -26 lines 0 comments Download
M content/renderer/media/audio_renderer_impl_unittest.cc View 1 2 3 4 4 chunks +31 lines, -5 lines 0 comments Download
M media/audio/audio_output_controller.h View 1 2 3 4 6 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/audio_output_controller.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
enal1
9 years, 6 months ago (2011-06-24 19:44:38 UTC) #1
scherkus (not reviewing)
don't forget BUG= and TEST= if a suitable doesn't exist feel free to create a ...
9 years, 6 months ago (2011-06-24 21:09:25 UTC) #2
enal1
Addressed everything, plus uploaded 2 files not uploaded earlier... http://codereview.chromium.org/7253003/diff/5001/content/common/content_switches.cc File content/common/content_switches.cc (right): http://codereview.chromium.org/7253003/diff/5001/content/common/content_switches.cc#newcode274 content/common/content_switches.cc:274: ...
9 years, 6 months ago (2011-06-24 22:01:09 UTC) #3
scherkus (not reviewing)
LGTM don't forget BUG= and TEST= before submitting
9 years, 5 months ago (2011-06-27 18:49:38 UTC) #4
enal1
Added BUG= and TEST= to the description.
9 years, 5 months ago (2011-06-27 19:12:30 UTC) #5
commit-bot: I haz the power
Presubmit check for 7253003-9 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 5 months ago (2011-06-28 18:15:17 UTC) #6
enal1
Adding brettw as reviewer for content/browser and content/common review...
9 years, 5 months ago (2011-06-28 19:11:07 UTC) #7
brettw
LGTM (I didn't check the logic). Sorry I missed this before. http://codereview.chromium.org/7253003/diff/9/content/common/content_switches.cc File content/common/content_switches.cc (right): ...
9 years, 5 months ago (2011-07-06 22:13:23 UTC) #8
commit-bot: I haz the power
9 years, 5 months ago (2011-07-07 18:17:45 UTC) #9
Change committed as 91727

Powered by Google App Engine
This is Rietveld 408576698