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

Issue 9121062: Remove "high"-latency audio code path (Closed)

Created:
8 years, 11 months ago by vrk (LEFT CHROMIUM)
Modified:
8 years, 10 months ago
CC:
enal, chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, jam, acolwell+watch_chromium.org, annacc+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, vrk (LEFT CHROMIUM), pam+watch_chromium.org, scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

Remove "high"-latency audio code path Chrome only uses the low-latency code path. This CL removes the unused, alternative "high"-latency code path. player_x11 and player_wtl use the high-latency code path, so sound is disabled from those players for now. BUG=NONE TEST=builds; content_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120436

Patch Set 1 #

Patch Set 2 : more deletions #

Patch Set 3 : more to delete! #

Total comments: 39

Patch Set 4 : Response to CR #

Patch Set 5 : . #

Patch Set 6 : Rebase ToT #

Total comments: 10

Patch Set 7 : Response to CR #

Patch Set 8 : Delete invalid portions of AudioOutputControllerTest #

Patch Set 9 : Fix clang errors #

Patch Set 10 : Rebase ToT yet again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -1151 lines) Patch
M content/browser/renderer_host/media/audio_renderer_host.h View 1 2 3 7 chunks +12 lines, -44 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host.cc View 1 2 3 8 chunks +32 lines, -110 lines 0 comments Download
M content/browser/renderer_host/media/audio_renderer_host_unittest.cc View 1 2 3 4 11 chunks +18 lines, -124 lines 0 comments Download
M content/common/media/audio_messages.h View 1 2 3 4 5 6 5 chunks +9 lines, -35 lines 0 comments Download
M content/renderer/media/audio_device.h View 1 2 3 4 5 6 4 chunks +11 lines, -15 lines 0 comments Download
M content/renderer/media/audio_device.cc View 1 2 3 4 5 6 7 8 9 5 chunks +4 lines, -17 lines 0 comments Download
M content/renderer/media/audio_message_filter.h View 1 2 3 2 chunks +6 lines, -25 lines 0 comments Download
M content/renderer/media/audio_message_filter.cc View 1 2 3 4 4 chunks +2 lines, -40 lines 0 comments Download
M content/renderer/media/audio_message_filter_unittest.cc View 1 2 3 5 chunks +32 lines, -66 lines 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -17 lines 0 comments Download
M media/audio/audio_output_controller.h View 1 2 3 4 5 6 10 chunks +24 lines, -61 lines 0 comments Download
M media/audio/audio_output_controller.cc View 1 2 3 12 chunks +21 lines, -119 lines 0 comments Download
M media/audio/audio_output_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 8 chunks +11 lines, -277 lines 0 comments Download
D media/filters/reference_audio_renderer.h View 1 2 3 4 5 1 chunk +0 lines, -71 lines 0 comments Download
D media/filters/reference_audio_renderer.cc View 1 2 3 4 5 1 chunk +0 lines, -110 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M media/tools/player_wtl/movie.cc View 1 2 3 4 5 4 chunks +3 lines, -10 lines 0 comments Download
M media/tools/player_x11/player_x11.cc View 1 2 3 4 5 3 chunks +3 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
vrk (LEFT CHROMIUM)
scherkus: Please review! I've kept "LowLatency" in the names of things for now; I think ...
8 years, 11 months ago (2012-01-28 00:19:44 UTC) #1
scherkus (not reviewing)
LGTM w/ nits + q's https://chromiumcodereview.appspot.com/9121062/diff/1019/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://chromiumcodereview.appspot.com/9121062/diff/1019/content/browser/renderer_host/media/audio_renderer_host.cc#newcode119 content/browser/renderer_host/media/audio_renderer_host.cc:119: static_cast<AudioSyncReader*>(entry->reader.get()); do you happen ...
8 years, 11 months ago (2012-01-28 02:12:51 UTC) #2
henrika (OOO until Aug 14)
Nice work Victoria. I am glad to see that you clean up in this area. ...
8 years, 10 months ago (2012-01-29 20:54:00 UTC) #3
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/9121062/diff/1019/content/browser/renderer_host/media/audio_renderer_host.cc File content/browser/renderer_host/media/audio_renderer_host.cc (right): https://chromiumcodereview.appspot.com/9121062/diff/1019/content/browser/renderer_host/media/audio_renderer_host.cc#newcode135 content/browser/renderer_host/media/audio_renderer_host.cc:135: Send(new AudioMsg_NotifyLowLatencyStreamCreated( On 2012/01/29 20:54:00, henrika wrote: > Proposal: ...
8 years, 10 months ago (2012-01-30 19:02:00 UTC) #4
vrk (LEFT CHROMIUM)
Thanks guys! Yeah I was always planning on removing the "LowLatency" from the names of ...
8 years, 10 months ago (2012-01-31 23:53:08 UTC) #5
henrika (OOO until Aug 14)
LGTM w/ nits. PS - I am working on refactoring the AudioInputController. Will sync up ...
8 years, 10 months ago (2012-02-01 13:11:29 UTC) #6
scherkus (not reviewing)
LGTM w/ q's http://codereview.chromium.org/9121062/diff/12003/content/common/media/audio_messages.h File content/common/media/audio_messages.h (right): http://codereview.chromium.org/9121062/diff/12003/content/common/media/audio_messages.h#newcode39 content/common/media/audio_messages.h:39: // Tell the renderer process that ...
8 years, 10 months ago (2012-02-01 22:56:12 UTC) #7
vrk (LEFT CHROMIUM)
Thanks for the reviews, guys! Addressed comments and will try to land later today if ...
8 years, 10 months ago (2012-02-02 21:05:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vrk@chromium.org/9121062/15025
8 years, 10 months ago (2012-02-03 01:14:51 UTC) #9
commit-bot: I haz the power
Presubmit check for 9121062-15025 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 10 months ago (2012-02-03 01:14:59 UTC) #10
vrk (LEFT CHROMIUM)
piman: Please OWNERS review content/renderer/pepper_plugin_delegate_impl.cc. Thanks!
8 years, 10 months ago (2012-02-03 01:23:24 UTC) #11
piman
rubber-stamp lgtm
8 years, 10 months ago (2012-02-03 18:26:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vrk@chromium.org/9121062/15025
8 years, 10 months ago (2012-02-03 18:48:55 UTC) #13
commit-bot: I haz the power
Can't apply patch for file media/audio/audio_output_controller_unittest.cc. While running patch -p1 --forward --force; patching file media/audio/audio_output_controller_unittest.cc ...
8 years, 10 months ago (2012-02-03 18:49:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vrk@chromium.org/9121062/12020
8 years, 10 months ago (2012-02-03 21:50:08 UTC) #15
commit-bot: I haz the power
8 years, 10 months ago (2012-02-03 23:18:20 UTC) #16
Change committed as 120436

Powered by Google App Engine
This is Rietveld 408576698