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

Issue 2132613002: Adds data logging in native AudioDeviceBuffer class (Closed)

Created:
4 years, 5 months ago by henrika_webrtc
Modified:
4 years, 5 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adds data logging in native AudioDeviceBuffer class. Goal is to provide periodic logging of most essential audio parameters for playout and recording sides. It will allow us to track if the native audio layer is working as intended. BUG=NONE Committed: https://crrev.com/348e411dd27e6dbe9b84b27ce46e9b7c657c1eae Cr-Commit-Position: refs/heads/master@{#13440}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Feedback from Stefan #

Patch Set 3 : nit #

Total comments: 4

Patch Set 4 : Fixes build issues #

Patch Set 5 : Added delta time to logs #

Patch Set 6 : nits #

Patch Set 7 : Special log for Windows #

Patch Set 8 : Added comments for Windows TaskQueue #

Patch Set 9 : Removed logging in TaskQueue for Windows #

Patch Set 10 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -38 lines) Patch
M webrtc/modules/audio_device/audio_device_buffer.h View 1 2 3 4 3 chunks +65 lines, -5 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_buffer.cc View 1 2 3 4 5 15 chunks +128 lines, -33 lines 0 comments Download

Messages

Total messages: 32 (14 generated)
henrika_webrtc
Example of output: 07-07 16:18:45.642 15948 15987 I libjingle: (audio_device_buffer.cc:413): [PLAY:10 sec@48kHz] callbacks: 1003, samples: ...
4 years, 5 months ago (2016-07-07 14:58:57 UTC) #3
henrika_webrtc
Stefan, it would be great if you could take a look at this one. Thanks ...
4 years, 5 months ago (2016-07-07 14:59:33 UTC) #4
stefan-webrtc
https://codereview.webrtc.org/2132613002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc File webrtc/modules/audio_device/audio_device_buffer.cc (right): https://codereview.webrtc.org/2132613002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc#newcode90 webrtc/modules/audio_device/audio_device_buffer.cc:90: if (!timer_has_started_) { Is this accessed on a single ...
4 years, 5 months ago (2016-07-07 15:22:14 UTC) #5
henrika_webrtc
Comments only. Will add thread checker next. https://codereview.webrtc.org/2132613002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc File webrtc/modules/audio_device/audio_device_buffer.cc (right): https://codereview.webrtc.org/2132613002/diff/1/webrtc/modules/audio_device/audio_device_buffer.cc#newcode90 webrtc/modules/audio_device/audio_device_buffer.cc:90: if (!timer_has_started_) ...
4 years, 5 months ago (2016-07-08 12:46:49 UTC) #6
henrika_webrtc
Comments only. Will add thread checker next.
4 years, 5 months ago (2016-07-08 12:46:51 UTC) #7
henrika_webrtc
Added thread checker and used it in methods that are essential to this CL only. ...
4 years, 5 months ago (2016-07-08 14:40:43 UTC) #8
stefan-webrtc
Looks good, but you have some build errors. https://codereview.webrtc.org/2132613002/diff/40001/webrtc/modules/audio_device/audio_device_buffer.cc File webrtc/modules/audio_device/audio_device_buffer.cc (right): https://codereview.webrtc.org/2132613002/diff/40001/webrtc/modules/audio_device/audio_device_buffer.cc#newcode295 webrtc/modules/audio_device/audio_device_buffer.cc:295: rtc::Bind(&AudioDeviceBuffer::UpdateRecStats, ...
4 years, 5 months ago (2016-07-11 08:38:46 UTC) #9
stefan-webrtc
lgtm
4 years, 5 months ago (2016-07-11 08:51:14 UTC) #10
henrika_webrtc
Fixing build issues. Will add one extra log as Stefan suggests next. https://codereview.webrtc.org/2132613002/diff/40001/webrtc/modules/audio_device/audio_device_buffer.cc File webrtc/modules/audio_device/audio_device_buffer.cc ...
4 years, 5 months ago (2016-07-11 10:50:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2132613002/100001
4 years, 5 months ago (2016-07-11 11:36:53 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_drmemory_light on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_drmemory_light/builds/13389)
4 years, 5 months ago (2016-07-11 14:16:24 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2132613002/100001
4 years, 5 months ago (2016-07-11 14:25:43 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2132613002/120001
4 years, 5 months ago (2016-07-11 15:28:58 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_drmemory_light on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_drmemory_light/builds/13395)
4 years, 5 months ago (2016-07-11 18:07:00 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2132613002/180001
4 years, 5 months ago (2016-07-12 08:32:01 UTC) #27
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 5 months ago (2016-07-12 09:18:46 UTC) #29
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/348e411dd27e6dbe9b84b27ce46e9b7c657c1eae Cr-Commit-Position: refs/heads/master@{#13440}
4 years, 5 months ago (2016-07-12 09:18:53 UTC) #31
sprang_webrtc
4 years, 5 months ago (2016-07-12 10:08:34 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:180001) has been created in
https://codereview.webrtc.org/2139233002/ by sprang@webrtc.org.

The reason for reverting is: Seems to break things upstream..

Powered by Google App Engine
This is Rietveld 408576698