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

Issue 10154007: Change the way audio mixer gets "pending bytes" (amount of data currently buffered (Closed)

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

Description

Change the way audio mixer gets "pending bytes" (amount of data currently buffered but not yet played). Underlying code expects per-logical-stream pending bytes, while all mixer gets when called for more data is pending bytes per combined stream. Fix is to keep track of * amount of data in every buffer * buffers for every logical stream and manually calculate per-logical-stream pending bytes. That is last CL in initial audio mixer implementation, after it go through mixer should be ready for full testing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134675

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -27 lines) Patch
M media/audio/audio_output_mixer.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M media/audio/audio_output_mixer.cc View 1 2 3 4 5 6 chunks +31 lines, -27 lines 0 comments Download
M media/audio/audio_output_proxy_unittest.cc View 1 2 3 3 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
enal1
Victoria, can you please take a look?
8 years, 8 months ago (2012-04-25 18:17:40 UTC) #1
vrk (LEFT CHROMIUM)
Hey enal, I'm actually having trouble understanding how this is supposed to work :( I'm ...
8 years, 8 months ago (2012-04-26 00:54:57 UTC) #2
enal1
Oops, I checked Windows and Mac implementations, but not Linux one. Will do tomorrow. On ...
8 years, 8 months ago (2012-04-26 01:22:59 UTC) #3
enal1
Victoria, Ok, it's easy to fix AlsaPcmOutputStream, but before doing that I want to explain ...
8 years, 8 months ago (2012-04-26 16:38:43 UTC) #4
enal1
...the more I am looking at the code the more I want to add "release ...
8 years, 8 months ago (2012-04-26 17:39:49 UTC) #5
vrk (LEFT CHROMIUM)
Thanks for the explanation! I have a better idea of what you're trying to do ...
8 years, 8 months ago (2012-04-26 20:27:54 UTC) #6
enal1
I believe I now handle all the cases. Main idea is simple -- if proxy's ...
8 years, 8 months ago (2012-04-27 17:11:10 UTC) #7
vrk (LEFT CHROMIUM)
LGTM Thanks enal! (The clean-up I mentioned in #6 can be done in another CL, ...
8 years, 7 months ago (2012-04-30 20:12:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/10154007/18001
8 years, 7 months ago (2012-04-30 20:14:36 UTC) #9
commit-bot: I haz the power
Try job failure for 10154007-18001 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 7 months ago (2012-04-30 21:48:58 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/10154007/18001
8 years, 7 months ago (2012-05-01 02:24:58 UTC) #11
commit-bot: I haz the power
8 years, 7 months ago (2012-05-01 04:10:30 UTC) #12
Change committed as 134675

Powered by Google App Engine
This is Rietveld 408576698