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

Issue 582733002: Adds a platform independent detecion of microphone hardware mute (Closed)

Created:
6 years, 3 months ago by henrika (OOO until Aug 14)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adds a platform independent detection of microphone hardware mute. This change ensures that a WebRTC client can detect (and log) if a user has enabled the microphone mute. No platform-dependent code is involved. BUG=NONE TEST=Manual tests of WebRTC client on Linux, Mac and Windows. Committed: https://crrev.com/c24f2b417072000af2c8f0676a7cc0194bd8ff7a Cr-Commit-Position: refs/heads/master@{#296164}

Patch Set 1 #

Patch Set 2 : Adds a platform independent detecion of microphone hardware mute #

Total comments: 6

Patch Set 3 : tommi@ #

Total comments: 2

Patch Set 4 : nit #

Total comments: 5

Patch Set 5 : Now builds on Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M media/audio/audio_input_controller.cc View 1 2 3 4 3 chunks +30 lines, -1 line 0 comments Download

Messages

Total messages: 19 (4 generated)
henrika (OOO until Aug 14)
Will add XML part when/if OK from other reviewers.
6 years, 3 months ago (2014-09-19 11:17:07 UTC) #2
tommi (sloooow) - chröme
https://codereview.chromium.org/582733002/diff/20001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/582733002/diff/20001/media/audio/audio_input_controller.cc#newcode26 media/audio/audio_input_controller.cc:26: MICROPHONE_MUTE_MAX = MICROPHONE_IS_NOT_MUTED hmm... I think this should be ...
6 years, 3 months ago (2014-09-19 13:09:32 UTC) #3
henrika (OOO until Aug 14)
https://codereview.chromium.org/582733002/diff/20001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/582733002/diff/20001/media/audio/audio_input_controller.cc#newcode26 media/audio/audio_input_controller.cc:26: MICROPHONE_MUTE_MAX = MICROPHONE_IS_NOT_MUTED On 2014/09/19 13:09:32, tommi wrote: > ...
6 years, 3 months ago (2014-09-19 14:57:43 UTC) #4
tommi (sloooow) - chröme
https://codereview.chromium.org/582733002/diff/40001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/582733002/diff/40001/media/audio/audio_input_controller.cc#newcode604 media/audio/audio_input_controller.cc:604: "AIC::OnData: microphone is muted!"); no need for StringPrintf
6 years, 3 months ago (2014-09-19 16:11:07 UTC) #5
henrika (OOO until Aug 14)
Tommi, if I may suggest; would it be OK to land as is to start ...
6 years, 3 months ago (2014-09-22 07:34:14 UTC) #6
no longer working on chromium
https://codereview.chromium.org/582733002/diff/60001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/582733002/diff/60001/media/audio/audio_input_controller.cc#newcode26 media/audio/audio_input_controller.cc:26: MICROPHONE_MUTE_MAX = MICROPHONE_IS_NOT_MUTED If you change MICROPHONE_MUTE_MAX = MICROPHONE_IS_NOT_MUTED ...
6 years, 3 months ago (2014-09-22 10:16:35 UTC) #7
henrika (OOO until Aug 14)
https://codereview.chromium.org/582733002/diff/60001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/582733002/diff/60001/media/audio/audio_input_controller.cc#newcode26 media/audio/audio_input_controller.cc:26: MICROPHONE_MUTE_MAX = MICROPHONE_IS_NOT_MUTED Found this style in other places ...
6 years, 3 months ago (2014-09-22 11:24:13 UTC) #8
tommi (sloooow) - chröme
lgtm
6 years, 3 months ago (2014-09-22 14:38:04 UTC) #9
henrika (OOO until Aug 14)
Thanks Tommi! Shijing, do I hear an OK from you as well?
6 years, 3 months ago (2014-09-22 14:44:34 UTC) #10
no longer working on chromium
lgtm https://codereview.chromium.org/582733002/diff/60001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/582733002/diff/60001/media/audio/audio_input_controller.cc#newcode26 media/audio/audio_input_controller.cc:26: MICROPHONE_MUTE_MAX = MICROPHONE_IS_NOT_MUTED On 2014/09/22 11:24:13, henrika wrote: ...
6 years, 3 months ago (2014-09-23 08:17:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/582733002/60001
6 years, 3 months ago (2014-09-23 08:29:43 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/18013)
6 years, 3 months ago (2014-09-23 08:40:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/582733002/80001
6 years, 3 months ago (2014-09-23 09:11:52 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 7e742bb995729257ccd1c6e543b7a60606592b94
6 years, 3 months ago (2014-09-23 10:05:13 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-23 10:05:41 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c24f2b417072000af2c8f0676a7cc0194bd8ff7a
Cr-Commit-Position: refs/heads/master@{#296164}

Powered by Google App Engine
This is Rietveld 408576698