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

Issue 287873004: Adds volume level measurements to the AudioInputController for low-latency clients (Closed)

Created:
6 years, 7 months ago by henrika (OOO until Aug 14)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Adds volume level measurements to the AudioInputController for low-latency clients BUG= R=xians@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272961

Patch Set 1 : #

Patch Set 2 : cleanup #

Total comments: 16

Patch Set 3 : refactored #

Total comments: 7

Patch Set 4 : Simplified, removed changes of APM #

Patch Set 5 : Improved #

Total comments: 16

Patch Set 6 : Removed dependency of content in media #

Total comments: 9

Patch Set 7 : Fixes unit test #

Patch Set 8 : fixes proposed by xians@ #

Patch Set 9 : Android fix #

Patch Set 10 : rebased #

Patch Set 11 : removed logs #

Patch Set 12 : improved thread handling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -0 lines) Patch
M content/browser/renderer_host/media/audio_input_renderer_host.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 1 2 3 4 5 6 2 chunks +25 lines, -0 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M media/audio/audio_input_controller.h View 1 2 3 4 5 6 7 5 chunks +21 lines, -0 lines 0 comments Download
M media/audio/audio_input_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +85 lines, -0 lines 0 comments Download
M media/audio/audio_input_controller_unittest.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
tommi (sloooow) - chröme
https://codereview.chromium.org/287873004/diff/50001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/287873004/diff/50001/media/audio/audio_input_controller.cc#newcode33 media/audio/audio_input_controller.cc:33: // semantics. This value was arbitrarily chosen, but seems ...
6 years, 7 months ago (2014-05-17 13:44:59 UTC) #1
henrika (OOO until Aug 14)
Thanks Tommi. Mainly comments so far. I have done a redesign where I move code ...
6 years, 7 months ago (2014-05-19 11:58:51 UTC) #2
henrika (OOO until Aug 14)
6 years, 7 months ago (2014-05-19 14:58:34 UTC) #3
henrika (OOO until Aug 14)
The idea is to start with logging in the native parts for Linux and Mac ...
6 years, 7 months ago (2014-05-19 15:02:02 UTC) #4
no longer working on chromium
On 2014/05/19 15:02:02, henrika wrote: > The idea is to start with logging in the ...
6 years, 7 months ago (2014-05-19 15:15:18 UTC) #5
no longer working on chromium
I will take another look after you have a newer version. https://codereview.chromium.org/287873004/diff/70001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): ...
6 years, 7 months ago (2014-05-19 15:15:48 UTC) #6
henrika (OOO until Aug 14)
I added Linux simply because it is a platform most of us use on a ...
6 years, 7 months ago (2014-05-19 15:21:59 UTC) #7
henrika (OOO until Aug 14)
https://codereview.chromium.org/287873004/diff/70001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/287873004/diff/70001/media/audio/audio_input_controller.cc#newcode286 media/audio/audio_input_controller.cc:286: if (audio_level_) It can be NULL. https://codereview.chromium.org/287873004/diff/70001/media/audio/audio_input_controller.cc#newcode401 media/audio/audio_input_controller.cc:401: if ...
6 years, 7 months ago (2014-05-19 15:25:46 UTC) #8
henrika (OOO until Aug 14)
xians@: done some improvements. Note that I still don't add any logs to the native ...
6 years, 7 months ago (2014-05-20 13:18:02 UTC) #9
henrika (OOO until Aug 14)
Friendly ping xians@.
6 years, 7 months ago (2014-05-23 08:11:42 UTC) #10
no longer working on chromium
Sorry for the delay. https://codereview.chromium.org/287873004/diff/100001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/287873004/diff/100001/media/audio/audio_input_controller.cc#newcode57 media/audio/audio_input_controller.cc:57: static void AddPowerLevelToLog(float level_dbfs) { ...
6 years, 7 months ago (2014-05-23 08:29:55 UTC) #11
henrika (OOO until Aug 14)
Only comments for now. Will try on Mac next and come back with more feedback. ...
6 years, 7 months ago (2014-05-23 08:42:45 UTC) #12
henrika (OOO until Aug 14)
xians@: PTAL Example of output where I mute the mic twice: [23327:23346:0526/124701:VERBOSE1:audio_input_controller.cc(450)] AIC::OnData: average audio ...
6 years, 7 months ago (2014-05-26 11:02:26 UTC) #13
henrika (OOO until Aug 14)
I have also verified that the new log turns up in chrome://webrtc-logs/ during after making ...
6 years, 7 months ago (2014-05-26 11:11:01 UTC) #14
no longer working on chromium
https://codereview.chromium.org/287873004/diff/100001/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/287873004/diff/100001/media/audio/audio_input_controller.cc#newcode442 media/audio/audio_input_controller.cc:442: if (!audio_level_) On 2014/05/23 08:42:45, henrika wrote: > The ...
6 years, 7 months ago (2014-05-26 14:20:15 UTC) #15
henrika (OOO until Aug 14)
xians@: one more time, please ;-) https://codereview.chromium.org/287873004/diff/120001/content/browser/renderer_host/media/audio_input_renderer_host.cc File content/browser/renderer_host/media/audio_input_renderer_host.cc (right): https://codereview.chromium.org/287873004/diff/120001/content/browser/renderer_host/media/audio_input_renderer_host.cc#newcode223 content/browser/renderer_host/media/audio_input_renderer_host.cc:223: return; As discussed ...
6 years, 7 months ago (2014-05-26 15:01:17 UTC) #16
henrika (OOO until Aug 14)
xians@: PTAL https://codereview.chromium.org/287873004/diff/120001/media/audio/audio_input_controller.h File media/audio/audio_input_controller.h (right): https://codereview.chromium.org/287873004/diff/120001/media/audio/audio_input_controller.h#newcode323 media/audio/audio_input_controller.h:323: #if defined(AUDIO_POWER_MONITORING) In addition, we should really ...
6 years, 7 months ago (2014-05-27 07:46:35 UTC) #17
no longer working on chromium
On 2014/05/27 07:46:35, henrika wrote: > xians@: PTAL > > https://codereview.chromium.org/287873004/diff/120001/media/audio/audio_input_controller.h > File media/audio/audio_input_controller.h (right): ...
6 years, 7 months ago (2014-05-27 09:06:09 UTC) #18
henrika (OOO until Aug 14)
The CQ bit was checked by henrika@chromium.org
6 years, 7 months ago (2014-05-27 09:16:15 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/henrika@chromium.org/287873004/240001
6 years, 7 months ago (2014-05-27 09:16:38 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-27 12:35:19 UTC) #21
henrika (OOO until Aug 14)
6 years, 7 months ago (2014-05-27 13:25:15 UTC) #22
Message was sent while issue was closed.
Committed patchset #12 manually as r272961 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698