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

Issue 2646423005: Remove the wave based audio capture implementation for Windows (Closed)

Created:
3 years, 11 months ago by tommi (sloooow) - chröme
Modified:
3 years, 11 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the wave based audio capture implementation for Windows BUG=684741 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2646423005 Cr-Commit-Position: refs/heads/master@{#446459} Committed: https://chromium.googlesource.com/chromium/src/+/a589a11cc8809c88d62b32a5810d6994fad45aaa

Patch Set 1 #

Patch Set 2 : Remove wave input code #

Total comments: 24

Patch Set 3 : Update histograms and call IsSupported in ctor #

Total comments: 4

Patch Set 4 : Simplify error handling #

Patch Set 5 : Address comments #

Patch Set 6 : Minor cleanup + documentation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -885 lines) Patch
M media/audio/BUILD.gn View 1 2 chunks +1 line, -3 lines 0 comments Download
M media/audio/audio_manager_unittest.cc View 1 4 chunks +0 lines, -107 lines 0 comments Download
M media/audio/win/audio_device_listener_win.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M media/audio/win/audio_manager_win.h View 1 1 chunk +0 lines, -24 lines 0 comments Download
M media/audio/win/audio_manager_win.cc View 1 2 3 4 5 18 chunks +89 lines, -175 lines 0 comments Download
M media/audio/win/core_audio_util_win.cc View 1 2 3 4 5 20 chunks +1 line, -37 lines 0 comments Download
M media/audio/win/device_enumeration_win.h View 1 1 chunk +1 line, -10 lines 0 comments Download
M media/audio/win/device_enumeration_win.cc View 1 6 chunks +14 lines, -63 lines 0 comments Download
D media/audio/win/wavein_input_win.h View 1 1 chunk +0 lines, -139 lines 0 comments Download
D media/audio/win/wavein_input_win.cc View 1 1 chunk +0 lines, -325 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 79 (47 generated)
tommi (sloooow) - chröme
Remove wave input code
3 years, 11 months ago (2017-01-24 17:20:20 UTC) #4
tommi (sloooow) - chröme
3 years, 11 months ago (2017-01-24 21:02:31 UTC) #11
tommi (sloooow) - chröme
(fixing subject and sending review request out again)
3 years, 11 months ago (2017-01-24 21:03:06 UTC) #12
DaleCurtis
https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc File media/audio/win/audio_manager_win.cc (left): https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc#oldcode142 media/audio/win/audio_manager_win.cc:142: enumeration_type_(CoreAudioUtil::IsSupported() ? kMMDeviceEnumeration This may be a race now ...
3 years, 11 months ago (2017-01-24 21:09:30 UTC) #15
tommi (sloooow) - chröme
https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc File media/audio/win/audio_manager_win.cc (right): https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc#newcode46 media/audio/win/audio_manager_win.cc:46: DEFINE_GUID(AM_KSCATEGORY_AUDIO, some changes, like this one, are due to ...
3 years, 11 months ago (2017-01-24 21:10:51 UTC) #16
tommi (sloooow) - chröme
Update histograms and call IsSupported in ctor
3 years, 11 months ago (2017-01-24 21:34:48 UTC) #17
tommi (sloooow) - chröme
https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc File media/audio/win/audio_manager_win.cc (left): https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc#oldcode142 media/audio/win/audio_manager_win.cc:142: enumeration_type_(CoreAudioUtil::IsSupported() ? kMMDeviceEnumeration On 2017/01/24 21:09:30, DaleCurtis wrote: > ...
3 years, 11 months ago (2017-01-24 21:34:57 UTC) #18
DaleCurtis
https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc File media/audio/win/audio_manager_win.cc (left): https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc#oldcode142 media/audio/win/audio_manager_win.cc:142: enumeration_type_(CoreAudioUtil::IsSupported() ? kMMDeviceEnumeration On 2017/01/24 at 21:34:57, tommi (krómíum) ...
3 years, 11 months ago (2017-01-24 21:47:26 UTC) #19
henrika (OOO until Aug 14)
https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc File media/audio/win/audio_manager_win.cc (right): https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc#newcode175 media/audio/win/audio_manager_win.cc:175: base::string16 AudioManagerWin::GetAudioInputDeviceModel() { Used at https://cs.chromium.org/chromium/src/content/browser/speech/speech_recognition_manager_impl.cc?q=GetAudioInputDeviceModel&sq=package:chromium&l=656 but not sure ...
3 years, 11 months ago (2017-01-25 12:43:34 UTC) #20
tommi (sloooow) - chröme
Simplify error handling
3 years, 11 months ago (2017-01-25 12:48:50 UTC) #21
tommi (sloooow) - chröme
+ haraken for histograms.xml https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc File media/audio/win/audio_manager_win.cc (right): https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc#newcode282 media/audio/win/audio_manager_win.cc:282: // elsewhere if we weren't ...
3 years, 11 months ago (2017-01-25 12:49:25 UTC) #25
henrika (OOO until Aug 14)
https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc File media/audio/win/audio_manager_win.cc (right): https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc#newcode407 media/audio/win/audio_manager_win.cc:407: use_input_params = true; I kind of have the same ...
3 years, 11 months ago (2017-01-25 12:59:42 UTC) #26
haraken
+isherman (I'm eligible to review UseCounter-only changes.)
3 years, 11 months ago (2017-01-25 13:25:49 UTC) #28
Ilya Sherman
histograms.xml lgtm
3 years, 11 months ago (2017-01-25 18:11:13 UTC) #29
tommi (sloooow) - chröme
Address comments
3 years, 11 months ago (2017-01-25 21:44:18 UTC) #32
tommi (sloooow) - chröme
https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc File media/audio/win/audio_manager_win.cc (right): https://codereview.chromium.org/2646423005/diff/20001/media/audio/win/audio_manager_win.cc#newcode175 media/audio/win/audio_manager_win.cc:175: base::string16 AudioManagerWin::GetAudioInputDeviceModel() { On 2017/01/25 12:43:33, henrika wrote: > ...
3 years, 11 months ago (2017-01-25 21:44:33 UTC) #33
DaleCurtis
lgtm thanks for cleaning this up!
3 years, 11 months ago (2017-01-25 22:46:36 UTC) #36
henrika (OOO until Aug 14)
lgtm
3 years, 11 months ago (2017-01-26 08:58:53 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2646423005/80001
3 years, 11 months ago (2017-01-26 09:06:59 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/220840)
3 years, 11 months ago (2017-01-26 10:28:32 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2646423005/80001
3 years, 11 months ago (2017-01-26 12:06:18 UTC) #46
tommi (sloooow) - chröme
Remove CHECK that caused webkit tests to fail on win_chromium_rel_ng
3 years, 11 months ago (2017-01-26 13:31:19 UTC) #47
tommi (sloooow) - chröme
Remove [D]CHECKs that currently trigger on the Windows 2008 Server bot
3 years, 11 months ago (2017-01-26 14:43:17 UTC) #50
tommi (sloooow) - chröme
Add a check to MakeLowLatencyOutputStream for IsSupported to work around bot issue
3 years, 11 months ago (2017-01-26 15:50:57 UTC) #55
tommi (sloooow) - chröme
Make GetPreferredOutputStreamParameters consistently return invalid params on error
3 years, 11 months ago (2017-01-26 16:04:33 UTC) #56
tommi (sloooow) - chröme
Minor cleanup + documentation
3 years, 11 months ago (2017-01-26 18:42:18 UTC) #61
tommi (sloooow) - chröme
Dale and Henrik - Please take at the difference between patch sets 5 and 6 ...
3 years, 11 months ago (2017-01-26 18:53:58 UTC) #68
DaleCurtis
still lgtm with the assumption that wave input wasn't working on 2008R2 in that case ...
3 years, 11 months ago (2017-01-26 19:19:14 UTC) #69
henrika (OOO until Aug 14)
Nice catch Tommi! Still LGTM. I wonder what happened on this bot before your patch?
3 years, 11 months ago (2017-01-26 19:31:48 UTC) #70
tommi (sloooow) - chröme
On 2017/01/26 19:19:14, DaleCurtis wrote: > still lgtm with the assumption that wave input wasn't ...
3 years, 11 months ago (2017-01-26 21:40:26 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2646423005/180001
3 years, 11 months ago (2017-01-26 21:42:26 UTC) #76
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 21:49:52 UTC) #79
Message was sent while issue was closed.
Committed patchset #6 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/a589a11cc8809c88d62b32a5810d...

Powered by Google App Engine
This is Rietveld 408576698