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

Issue 10540034: Use 2 buffers on presumable good Windows boxes. (Closed)

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

Description

Change the code to use 2 buffers on presumable good Windows boxes. I.e. running non-Vista and having more than single core. Changed unit tests as well. (Earlier that CL was part of bugger one, changing the way audio mixer is working, but it causes problems on Mac). BUG=132009 TEST=Startup of 2nd stream should become somewhat faster. TEST=Run tests on Win7 and XP myself. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142488

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -24 lines) Patch
M media/audio/audio_output_controller_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M media/audio/audio_util.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M media/audio/audio_util.cc View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M media/audio/win/audio_manager_win.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M media/audio/win/audio_output_win_unittest.cc View 1 2 3 4 5 6 chunks +31 lines, -22 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
enal1
Andrew, can you please take a look?
8 years, 6 months ago (2012-06-06 21:26:17 UTC) #1
scherkus (not reviewing)
+vrk to also look at the mixer code to have another pair of eyes https://chromiumcodereview.appspot.com/10540034/diff/1/media/audio/audio_util.cc ...
8 years, 6 months ago (2012-06-07 17:25:41 UTC) #2
enal1
Addressed everything. https://chromiumcodereview.appspot.com/10540034/diff/1/media/audio/audio_util.cc File media/audio/audio_util.cc (right): https://chromiumcodereview.appspot.com/10540034/diff/1/media/audio/audio_util.cc#newcode525 media/audio/audio_util.cc:525: // 3 otherwise. On 2012/06/07 17:25:41, scherkus ...
8 years, 6 months ago (2012-06-07 20:56:22 UTC) #3
scherkus (not reviewing)
lgtm but I'm not terribly familiar with the audio mixer vrk have any input?
8 years, 6 months ago (2012-06-07 20:59:29 UTC) #4
enal1
Changes in mixer itself are minimal -- I just moved Start() for physical stream into ...
8 years, 6 months ago (2012-06-07 21:58:25 UTC) #5
vrk (LEFT CHROMIUM)
The code LGTM, glad that it simplified the locking scenarios in the mixer! Question about ...
8 years, 6 months ago (2012-06-11 17:17:09 UTC) #6
enal1
Earlier, when starting new stream, we buffered 3 buffers (typical latency per buffer 2-3ms), and ...
8 years, 6 months ago (2012-06-11 17:39:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/10540034/7003
8 years, 6 months ago (2012-06-11 18:55:56 UTC) #8
commit-bot: I haz the power
Change committed as 141476
8 years, 6 months ago (2012-06-11 20:12:23 UTC) #9
sail
I think this broke the Mac unit tests: http://build.chromium.org/p/chromium/buildstatus?builder=Mac10.5%20Tests%20%281%29&number=20624
8 years, 6 months ago (2012-06-11 21:19:37 UTC) #10
enal1
Thank you, you reverted before I did. On Mon, Jun 11, 2012 at 2:19 PM, ...
8 years, 6 months ago (2012-06-11 21:29:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/10540034/13004
8 years, 6 months ago (2012-06-12 20:09:02 UTC) #12
commit-bot: I haz the power
Try job failure for 10540034-13004 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-12 20:19:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/10540034/10003
8 years, 6 months ago (2012-06-12 20:23:17 UTC) #14
commit-bot: I haz the power
Try job failure for 10540034-10003 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-12 20:36:24 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/10540034/7015
8 years, 6 months ago (2012-06-12 21:04:51 UTC) #16
commit-bot: I haz the power
Change committed as 141770
8 years, 6 months ago (2012-06-12 22:55:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/10540034/26002
8 years, 6 months ago (2012-06-15 16:51:30 UTC) #18
commit-bot: I haz the power
Change committed as 142430
8 years, 6 months ago (2012-06-15 18:30:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/10540034/18004
8 years, 6 months ago (2012-06-15 20:36:16 UTC) #20
commit-bot: I haz the power
8 years, 6 months ago (2012-06-15 21:47:32 UTC) #21
Change committed as 142488

Powered by Google App Engine
This is Rietveld 408576698