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

Issue 2043353002: Make fake audio file playback loop by default. (Closed)

Created:
4 years, 6 months ago by phoglund_chromium
Modified:
4 years, 6 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make fake audio file playback loop by default. Some do long-running tests with --use-file-for-fake-audio-capture, and since the flag doesn't loop the audio file by default, you'd need a huge file to play audio during a long-running test. Instead of specifying <path> you can now specify <path>%noloop for the flag arg, e.g. --use-file-for-fake-audio-capture=/my/audio.wav%noloop to get the old behavior. To get the new behavior, just pass a wav file path to the flag. The current WebRTC audio quality tests currently need the file to stop after the first playout. Another option could be to pad the audio file with lots of silence at the end. BUG=618215 Committed: https://crrev.com/4d099160b7f26caae6b96a71b057db75e4d6a1af Cr-Commit-Position: refs/heads/master@{#399458}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Addressed comments. #

Patch Set 4 : Fix win compile, change ! to % #

Patch Set 5 : Update browser test #

Patch Set 6 : Fix literal #

Patch Set 7 : String handling is hard #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -36 lines) Patch
M chrome/browser/media/webrtc_audio_quality_browsertest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M media/audio/fake_audio_input_stream.cc View 1 2 3 4 5 2 chunks +18 lines, -7 lines 0 comments Download
M media/audio/simple_sources.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M media/audio/simple_sources.cc View 1 2 3 2 chunks +14 lines, -6 lines 0 comments Download
M media/audio/simple_sources_unittest.cc View 1 2 4 chunks +66 lines, -19 lines 0 comments Download
M media/base/media_switches.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 33 (18 generated)
phoglund_chromium
4 years, 6 months ago (2016-06-08 13:46:09 UTC) #3
tommi (sloooow) - chröme
lgtm % nits https://codereview.chromium.org/2043353002/diff/20001/media/audio/simple_sources_unittest.cc File media/audio/simple_sources_unittest.cc (right): https://codereview.chromium.org/2043353002/diff/20001/media/audio/simple_sources_unittest.cc#newcode82 media/audio/simple_sources_unittest.cc:82: // Convert the test data (little-endian) ...
4 years, 6 months ago (2016-06-08 14:47:33 UTC) #4
phoglund_chromium
https://codereview.chromium.org/2043353002/diff/20001/media/audio/simple_sources_unittest.cc File media/audio/simple_sources_unittest.cc (right): https://codereview.chromium.org/2043353002/diff/20001/media/audio/simple_sources_unittest.cc#newcode82 media/audio/simple_sources_unittest.cc:82: // Convert the test data (little-endian) into floats and ...
4 years, 6 months ago (2016-06-09 12:08:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043353002/40001
4 years, 6 months ago (2016-06-09 12:13:20 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/197942)
4 years, 6 months ago (2016-06-09 12:19:52 UTC) #10
phoglund_chromium
+dalecurtis for media_switches.
4 years, 6 months ago (2016-06-10 14:19:39 UTC) #13
DaleCurtis
lgtm
4 years, 6 months ago (2016-06-10 18:25:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043353002/70001
4 years, 6 months ago (2016-06-13 06:52:18 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/205006)
4 years, 6 months ago (2016-06-13 07:15:51 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043353002/90001
4 years, 6 months ago (2016-06-13 07:29:29 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/205013) win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, ...
4 years, 6 months ago (2016-06-13 08:00:04 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043353002/110001
4 years, 6 months ago (2016-06-13 10:50:16 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:110001)
4 years, 6 months ago (2016-06-13 15:47:29 UTC) #30
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-13 15:47:32 UTC) #31
commit-bot: I haz the power
4 years, 6 months ago (2016-06-13 15:49:35 UTC) #33
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4d099160b7f26caae6b96a71b057db75e4d6a1af
Cr-Commit-Position: refs/heads/master@{#399458}

Powered by Google App Engine
This is Rietveld 408576698