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

Issue 2966005: Add recording capability to AudioManager, and implemented on windows using the WaveIn APIs. (Closed)

Created:
10 years, 5 months ago by Satish
Modified:
9 years, 7 months ago
CC:
chromium-reviews, fbarchard, John Grabowski, pam+watch_chromium.org, awong, scherkus (not reviewing), Paweł Hajdan Jr.
Visibility:
Public.

Description

Add recording capability to AudioManager, and implemented on windows using the WaveIn APIs. Implementation for other platforms will follow in future patches. Also includes a unit test. BUG=none TEST=no user visible change yet, just adding audio recording backend. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52292

Patch Set 1 : Patch #

Total comments: 19

Patch Set 2 : Patch #

Total comments: 17

Patch Set 3 : Patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+696 lines, -5 lines) Patch
M media/audio/audio_io.h View 3 chunks +68 lines, -0 lines 0 comments Download
M media/audio/linux/alsa_output_unittest.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M media/audio/linux/audio_manager_linux.h View 1 chunk +5 lines, -0 lines 0 comments Download
M media/audio/linux/audio_manager_linux.cc View 1 2 2 chunks +16 lines, -1 line 0 comments Download
M media/audio/mac/audio_manager_mac.h View 1 2 chunks +6 lines, -1 line 0 comments Download
M media/audio/mac/audio_manager_mac.cc View 1 2 chunks +16 lines, -1 line 0 comments Download
M media/audio/openbsd/audio_manager_openbsd.h View 1 chunk +5 lines, -0 lines 0 comments Download
M media/audio/openbsd/audio_manager_openbsd.cc View 1 chunk +15 lines, -0 lines 0 comments Download
A media/audio/win/audio_input_win_unittest.cc View 1 2 1 chunk +184 lines, -0 lines 0 comments Download
M media/audio/win/audio_manager_win.h View 1 4 chunks +10 lines, -1 line 0 comments Download
M media/audio/win/audio_manager_win.cc View 1 5 chunks +43 lines, -1 line 0 comments Download
A media/audio/win/wavein_input_win.h View 1 chunk +102 lines, -0 lines 0 comments Download
A media/audio/win/wavein_input_win.cc View 1 chunk +216 lines, -0 lines 0 comments Download
M media/media.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Satish
10 years, 5 months ago (2010-07-12 23:34:58 UTC) #1
cpu_(ooo_6.6-7.5)
the code looks good, my comments are basically beefing up the testing. http://codereview.chromium.org/2966005/diff/2001/3009 File media/audio/win/audio_input_win_unittest.cc ...
10 years, 5 months ago (2010-07-13 01:04:03 UTC) #2
Satish
http://codereview.chromium.org/2966005/diff/2001/3009 File media/audio/win/audio_input_win_unittest.cc (right): http://codereview.chromium.org/2966005/diff/2001/3009#newcode6 media/audio/win/audio_input_win_unittest.cc:6: #include <mmsystem.h> On 2010/07/13 01:04:04, cpu wrote: > do ...
10 years, 5 months ago (2010-07-13 11:03:50 UTC) #3
Paweł Hajdan Jr.
Drive-by with some test comments. Please let me take another look before committing. http://codereview.chromium.org/2966005/diff/8001/9009 File ...
10 years, 5 months ago (2010-07-13 14:52:23 UTC) #4
Satish
http://codereview.chromium.org/2966005/diff/8001/9009 File media/audio/win/audio_input_win_unittest.cc (right): http://codereview.chromium.org/2966005/diff/8001/9009#newcode149 media/audio/win/audio_input_win_unittest.cc:149: Sleep(540); On 2010/07/13 14:52:23, Paweł Hajdan Jr. wrote: > ...
10 years, 5 months ago (2010-07-13 15:01:20 UTC) #5
Alpha Left Google
in general looks good, I just have a few nits and some questions. http://codereview.chromium.org/2966005/diff/8001/9003 File ...
10 years, 5 months ago (2010-07-13 18:38:18 UTC) #6
Paweł Hajdan Jr.
I think it'd be a good idea to somehow document in comments the purpose of ...
10 years, 5 months ago (2010-07-13 19:32:12 UTC) #7
Satish
http://codereview.chromium.org/2966005/diff/8001/9003 File media/audio/linux/audio_manager_linux.cc (right): http://codereview.chromium.org/2966005/diff/8001/9003#newcode1 media/audio/linux/audio_manager_linux.cc:1: // Copyright (c) 2006-2010 The Chromium Authors. All rights ...
10 years, 5 months ago (2010-07-13 20:06:54 UTC) #8
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/2966005/diff/2001/3006 File media/audio/mac/audio_manager_mac.h (right): http://codereview.chromium.org/2966005/diff/2001/3006#newcode1 media/audio/mac/audio_manager_mac.h:1: // Copyright (c) 2009 The Chromium Authors. All rights ...
10 years, 5 months ago (2010-07-13 20:44:47 UTC) #9
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/2966005/diff/8001/9012 File media/audio/win/wavein_input_win.cc (right): http://codereview.chromium.org/2966005/diff/8001/9012#newcode17 media/audio/win/wavein_input_win.cc:17: namespace { anonymous namespace is preferred and more in ...
10 years, 5 months ago (2010-07-13 20:48:39 UTC) #10
Satish
http://codereview.chromium.org/2966005/diff/2001/3009 File media/audio/win/audio_input_win_unittest.cc (right): http://codereview.chromium.org/2966005/diff/2001/3009#newcode94 media/audio/win/audio_input_win_unittest.cc:94: On 2010/07/13 20:44:48, cpu wrote: > Maybe I misunderstood ...
10 years, 5 months ago (2010-07-13 20:55:26 UTC) #11
cpu_(ooo_6.6-7.5)
On 2010/07/13 20:55:26, Satish wrote: > http://codereview.chromium.org/2966005/diff/2001/3009 > File media/audio/win/audio_input_win_unittest.cc (right): > > http://codereview.chromium.org/2966005/diff/2001/3009#newcode94 > ...
10 years, 5 months ago (2010-07-13 23:29:02 UTC) #12
cpu_(ooo_6.6-7.5)
One more thing, please make a bug (and assign to you) about implementing the mock ...
10 years, 5 months ago (2010-07-13 23:30:18 UTC) #13
Alpha Left Google
10 years, 5 months ago (2010-07-13 23:31:05 UTC) #14
LGTM from me too.

Powered by Google App Engine
This is Rietveld 408576698