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

Issue 892423002: Adding some audio debugging flags (Closed)

Created:
5 years, 10 months ago by Charlie
Modified:
5 years, 10 months ago
Reviewers:
rkc, rkc1, ajm, Andrew MacDonald
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding some flags to make audio debugging easier. Now we can separate audible audio from inaudible, and dump the tokens in their original encoded form. rkc@ for copresence review. andrew@webrtc for wav_file review. Committed: https://crrev.com/4f0acbe307357802844fbb6e974ce724dea45655 Cr-Commit-Position: refs/heads/master@{#314772}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Adding mono channel constant #

Total comments: 5

Patch Set 4 : Checking for writable tokens directory #

Total comments: 2

Patch Set 5 : Removing directory check #

Patch Set 6 : Updating comment #

Patch Set 7 : Fixing Windows build #

Patch Set 8 : Windows fix, take 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -15 lines) Patch
M components/copresence.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M components/copresence/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/copresence/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/copresence/copresence_switches.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/copresence/copresence_switches.cc View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M components/copresence/mediums/audio/audio_manager_impl.h View 4 6 chunks +12 lines, -1 line 0 comments Download
M components/copresence/mediums/audio/audio_manager_impl.cc View 1 2 3 4 5 6 7 8 chunks +96 lines, -14 lines 0 comments Download

Messages

Total messages: 30 (8 generated)
Charlie
5 years, 10 months ago (2015-02-04 23:07:14 UTC) #2
ajm
Just to be sure you're aware, there is some wav handling functionality in Chromium proper: ...
5 years, 10 months ago (2015-02-04 23:24:26 UTC) #4
rkc
I'll echo what ajm@ said. Consider using the WavWriter in Chromium. We should avoid adding ...
5 years, 10 months ago (2015-02-04 23:37:18 UTC) #6
Charlie
On 2015/02/04 23:24:26, ajm wrote: > Just to be sure you're aware, there is some ...
5 years, 10 months ago (2015-02-04 23:41:02 UTC) #7
Charlie
https://codereview.chromium.org/892423002/diff/20001/components/copresence/copresence_switches.h File components/copresence/copresence_switches.h (right): https://codereview.chromium.org/892423002/diff/20001/components/copresence/copresence_switches.h#newcode12 components/copresence/copresence_switches.h:12: extern const char kCopresenceDumpTokensToDir[]; On 2015/02/04 23:37:18, Rahul Chaturvedi ...
5 years, 10 months ago (2015-02-04 23:52:14 UTC) #8
ajm
On 2015/02/04 23:41:02, Charlie wrote: > On 2015/02/04 23:24:26, ajm wrote: > > Just to ...
5 years, 10 months ago (2015-02-05 00:03:41 UTC) #9
Charlie
On 2015/02/05 00:03:41, ajm wrote: > On 2015/02/04 23:41:02, Charlie wrote: > > On 2015/02/04 ...
5 years, 10 months ago (2015-02-05 00:08:28 UTC) #10
rkc
lgtm
5 years, 10 months ago (2015-02-05 00:14:03 UTC) #11
ajm
DumpToken() lgtm % nits https://codereview.chromium.org/892423002/diff/40001/components/copresence/mediums/audio/audio_manager_impl.cc File components/copresence/mediums/audio/audio_manager_impl.cc (right): https://codereview.chromium.org/892423002/diff/40001/components/copresence/mediums/audio/audio_manager_impl.cc#newcode313 components/copresence/mediums/audio/audio_manager_impl.cc:313: DCHECK_EQ((int) int_samples.size(), samples->frames()); static_cast? Also, ...
5 years, 10 months ago (2015-02-05 00:18:35 UTC) #12
Charlie
Added a check for an invalid token directory, to reduce the likelihood of a WavWriter ...
5 years, 10 months ago (2015-02-05 01:53:46 UTC) #14
rkc
https://codereview.chromium.org/892423002/diff/60001/components/copresence/mediums/audio/audio_manager_impl.h File components/copresence/mediums/audio/audio_manager_impl.h (right): https://codereview.chromium.org/892423002/diff/60001/components/copresence/mediums/audio/audio_manager_impl.h#newcode84 components/copresence/mediums/audio/audio_manager_impl.h:84: void ValidateTokenDir(); This is completely unnecessary. Once you are ...
5 years, 10 months ago (2015-02-05 01:54:45 UTC) #15
Charlie
https://codereview.chromium.org/892423002/diff/60001/components/copresence/mediums/audio/audio_manager_impl.h File components/copresence/mediums/audio/audio_manager_impl.h (right): https://codereview.chromium.org/892423002/diff/60001/components/copresence/mediums/audio/audio_manager_impl.h#newcode84 components/copresence/mediums/audio/audio_manager_impl.h:84: void ValidateTokenDir(); On 2015/02/05 01:54:45, Rahul Chaturvedi wrote: > ...
5 years, 10 months ago (2015-02-05 02:01:56 UTC) #16
ajm
lgtm https://codereview.chromium.org/892423002/diff/40001/components/copresence/mediums/audio/audio_manager_impl.cc File components/copresence/mediums/audio/audio_manager_impl.cc (right): https://codereview.chromium.org/892423002/diff/40001/components/copresence/mediums/audio/audio_manager_impl.cc#newcode316 components/copresence/mediums/audio/audio_manager_impl.cc:316: " " + ToUrlSafe(token) + ".wav"; On 2015/02/05 ...
5 years, 10 months ago (2015-02-05 02:03:33 UTC) #17
rkc
lgtm
5 years, 10 months ago (2015-02-05 02:26:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892423002/100001
5 years, 10 months ago (2015-02-05 02:36:08 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/40592)
5 years, 10 months ago (2015-02-05 02:41:50 UTC) #23
chromium-reviews
Andrew, can you LG from your webrtc account? Presubmit is failing: ** Presubmit ERRORS ** ...
5 years, 10 months ago (2015-02-05 02:51:21 UTC) #24
Charlie
On 2015/02/05 01:54:45, Rahul Chaturvedi wrote: > https://codereview.chromium.org/892423002/diff/60001/components/copresence/mediums/audio/audio_manager_impl.h > File components/copresence/mediums/audio/audio_manager_impl.h (right): > > https://codereview.chromium.org/892423002/diff/60001/components/copresence/mediums/audio/audio_manager_impl.h#newcode84 ...
5 years, 10 months ago (2015-02-05 04:02:30 UTC) #25
Andrew MacDonald
lgtm
5 years, 10 months ago (2015-02-05 05:56:38 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892423002/140001
5 years, 10 months ago (2015-02-05 06:12:28 UTC) #28
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 10 months ago (2015-02-05 07:35:53 UTC) #29
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 07:36:44 UTC) #30
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/4f0acbe307357802844fbb6e974ce724dea45655
Cr-Commit-Position: refs/heads/master@{#314772}

Powered by Google App Engine
This is Rietveld 408576698