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

Issue 9691001: Audio software mixer. (Closed)

Created:
8 years, 9 months ago by enal
Modified:
8 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Re-land software audio mixer. Code goes through old or new paths depending on the AudioParameters or command-line flag. Added unit tests. Changed suppression for http://code.google.com/p/chromium/issues/detail?id=123112 because call stack changed (class was split into 2). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133010

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Total comments: 50

Patch Set 9 : #

Total comments: 32

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+987 lines, -346 lines) Patch
M media/audio/audio_manager_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M media/audio/audio_manager_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +14 lines, -4 lines 0 comments Download
M media/audio/audio_output_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +36 lines, -69 lines 0 comments Download
M media/audio/audio_output_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -151 lines 0 comments Download
A media/audio/audio_output_dispatcher_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +102 lines, -0 lines 0 comments Download
A media/audio/audio_output_dispatcher_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +200 lines, -0 lines 0 comments Download
A media/audio/audio_output_mixer.h View 1 2 3 4 5 6 7 8 9 1 chunk +92 lines, -0 lines 0 comments Download
A media/audio/audio_output_mixer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +251 lines, -0 lines 0 comments Download
M media/audio/audio_output_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -4 lines 0 comments Download
M media/audio/audio_output_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +5 lines, -18 lines 0 comments Download
M media/audio/audio_output_proxy_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 11 chunks +272 lines, -100 lines 0 comments Download
M media/base/media_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/media_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M tools/valgrind/tsan/suppressions_mac.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
enal1
Sending for official review...
8 years, 9 months ago (2012-03-26 20:22:49 UTC) #1
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/9691001/diff/18001/media/audio/audio_parameters.h File media/audio/audio_parameters.h (right): https://chromiumcodereview.appspot.com/9691001/diff/18001/media/audio/audio_parameters.h#newcode36 media/audio/audio_parameters.h:36: bool use_browser_mixer, Is the only reason to have programmatic ...
8 years, 9 months ago (2012-03-27 14:34:19 UTC) #2
enal1
https://chromiumcodereview.appspot.com/9691001/diff/18001/media/audio/audio_parameters.h File media/audio/audio_parameters.h (right): https://chromiumcodereview.appspot.com/9691001/diff/18001/media/audio/audio_parameters.h#newcode36 media/audio/audio_parameters.h:36: bool use_browser_mixer, yes, not having that flag is very ...
8 years, 9 months ago (2012-03-27 15:12:01 UTC) #3
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/9691001/diff/18001/media/audio/audio_parameters.h File media/audio/audio_parameters.h (right): https://chromiumcodereview.appspot.com/9691001/diff/18001/media/audio/audio_parameters.h#newcode36 media/audio/audio_parameters.h:36: bool use_browser_mixer, On 2012/03/27 15:12:01, enal1 wrote: > yes, ...
8 years, 9 months ago (2012-03-27 15:17:05 UTC) #4
enal1
https://chromiumcodereview.appspot.com/9691001/diff/18001/media/audio/audio_parameters.h File media/audio/audio_parameters.h (right): https://chromiumcodereview.appspot.com/9691001/diff/18001/media/audio/audio_parameters.h#newcode36 media/audio/audio_parameters.h:36: bool use_browser_mixer, Arguments are "my code right now works ...
8 years, 9 months ago (2012-03-27 15:34:08 UTC) #5
enal1
Removed flag in AudioParameters, made command-flag "enabling" one, i.e. mixer is turned off by default.
8 years, 9 months ago (2012-03-28 18:46:59 UTC) #6
scherkus (not reviewing)
thanks for making the audioparameters change enal! I'll defer to tommi/vrk for the bulk of ...
8 years, 8 months ago (2012-03-29 22:46:39 UTC) #7
enal1
Sync'ed sources, addressed Andrew's comment.
8 years, 8 months ago (2012-03-30 16:45:49 UTC) #8
vrk (LEFT CHROMIUM)
Hey enal, sorry for the delay in reviewing! I wasn't very familiar with this neck ...
8 years, 8 months ago (2012-03-30 22:25:58 UTC) #9
tommi (sloooow) - chröme
Sorry for the huge delay Eugene. I'm jumping between the design doc and the cl ...
8 years, 8 months ago (2012-04-03 13:47:51 UTC) #10
enal1
I believe I addressed everything. It is not easy to move timer from derived to ...
8 years, 8 months ago (2012-04-04 18:46:55 UTC) #11
vrk (LEFT CHROMIUM)
The AudioOutputDispatcher interface is looking better, but AudioOutputProxy's threading story has gotten trickier. Neither of ...
8 years, 8 months ago (2012-04-06 23:37:04 UTC) #12
enal1
Addressed everything. Thanks, Victoria, code looks better now, even though I had to revert some ...
8 years, 8 months ago (2012-04-16 22:01:35 UTC) #13
vrk (LEFT CHROMIUM)
LGTM, great work, enal!! https://chromiumcodereview.appspot.com/9691001/diff/41001/media/audio/audio_output_mixer.cc File media/audio/audio_output_mixer.cc (right): https://chromiumcodereview.appspot.com/9691001/diff/41001/media/audio/audio_output_mixer.cc#newcode66 media/audio/audio_output_mixer.cc:66: // We cannot start physical ...
8 years, 8 months ago (2012-04-18 14:57:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/9691001/54005
8 years, 8 months ago (2012-04-18 20:45:32 UTC) #15
commit-bot: I haz the power
Change committed as 132891
8 years, 8 months ago (2012-04-18 23:14:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/9691001/64001
8 years, 8 months ago (2012-04-19 15:51:29 UTC) #17
commit-bot: I haz the power
8 years, 8 months ago (2012-04-19 17:44:13 UTC) #18
Change committed as 133010

Powered by Google App Engine
This is Rietveld 408576698