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

Issue 7117001: Simplify AlsaPcmOutputStream and AudioManagerLinux. Code was thread-safe, but now (Closed)

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

Description

Simplify AlsaPcmOutputStream and AudioManagerLinux. Code was thread-safe, but now client and audio threads are the same, so we don't need locks/ref counts/etc. http://codereview.chromium.org/7117001 BUG=62588 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88369

Patch Set 1 #

Total comments: 20

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -272 lines) Patch
M media/audio/linux/alsa_output.h View 1 2 9 chunks +33 lines, -66 lines 0 comments Download
M media/audio/linux/alsa_output.cc View 1 2 18 chunks +76 lines, -146 lines 0 comments Download
M media/audio/linux/alsa_output_unittest.cc View 1 2 17 chunks +41 lines, -49 lines 0 comments Download
M media/audio/linux/audio_manager_linux.h View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M media/audio/linux/audio_manager_linux.cc View 1 2 4 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
enal
9 years, 6 months ago (2011-06-06 21:06:24 UTC) #1
scherkus (not reviewing)
looking pretty good!! few nits and a comment about deletion+CloseTask http://codereview.chromium.org/7117001/diff/1/media/audio/linux/alsa_output.cc File media/audio/linux/alsa_output.cc (right): http://codereview.chromium.org/7117001/diff/1/media/audio/linux/alsa_output.cc#newcode285 ...
9 years, 6 months ago (2011-06-07 00:19:00 UTC) #2
enal
Addressed all issues. http://codereview.chromium.org/7117001/diff/1/media/audio/linux/alsa_output.cc File media/audio/linux/alsa_output.cc (right): http://codereview.chromium.org/7117001/diff/1/media/audio/linux/alsa_output.cc#newcode285 media/audio/linux/alsa_output.cc:285: manager()->ReleaseOutputStream(this); On 2011/06/07 00:19:01, scherkus wrote: ...
9 years, 6 months ago (2011-06-07 17:29:00 UTC) #3
enal
Re-sending, this time uploaded version...
9 years, 6 months ago (2011-06-07 17:43:16 UTC) #4
scherkus (not reviewing)
LGTM w/ 2 nits re: callback executing functions the abstract virtual functions are defined in ...
9 years, 6 months ago (2011-06-07 23:01:59 UTC) #5
enal
Addressed everything.
9 years, 6 months ago (2011-06-08 15:57:05 UTC) #6
commit-bot: I haz the power
9 years, 6 months ago (2011-06-08 18:56:56 UTC) #7
Change committed as 88369

Powered by Google App Engine
This is Rietveld 408576698