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

Issue 1377103002: Add sample rates checking in MediaStreamAudioProcessor (Closed)

Created:
5 years, 2 months ago by msu.koo
Modified:
5 years, 2 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add sample rates checking in MediaStreamAudioProcessor This patch enforced checking the input sample rate to MediaStreamAudioProcessor by adding checking routines in MediaStreamAudioFifo. BUG=536607 Committed: https://crrev.com/c5eb149ca476765840fe4fa9b4762f97cea3dd92 Cr-Commit-Position: refs/heads/master@{#353932}

Patch Set 1 #

Total comments: 2

Patch Set 2 : comment addressed #

Total comments: 2

Patch Set 3 : unittest updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M content/renderer/media/media_stream_audio_processor.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/media_stream_audio_processor_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (9 generated)
msu.koo
I made a patch on your issue. PTAL :)
5 years, 2 months ago (2015-09-30 04:35:58 UTC) #2
Henrik Grunell
Thanks for working on this! :) +Henrik A to answer about supported sample rates. https://codereview.chromium.org/1377103002/diff/1/content/renderer/media/media_stream_audio_processor.cc ...
5 years, 2 months ago (2015-09-30 08:19:25 UTC) #4
henrika (OOO until Aug 14)
https://codereview.chromium.org/1377103002/diff/1/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://codereview.chromium.org/1377103002/diff/1/content/renderer/media/media_stream_audio_processor.cc#newcode141 content/renderer/media/media_stream_audio_processor.cc:141: DCHECK_GE(sample_rate_, media::limits::kMinSampleRate); Have not done the latest changes in ...
5 years, 2 months ago (2015-09-30 08:49:18 UTC) #5
henrika (OOO until Aug 14)
But should it not be the MSAP that sets the limitations based on what it ...
5 years, 2 months ago (2015-09-30 08:50:59 UTC) #6
Henrik Grunell
On 2015/09/30 08:50:59, henrika wrote: > But should it not be the MSAP that sets ...
5 years, 2 months ago (2015-09-30 09:12:58 UTC) #7
Henrik Grunell
On 2015/09/30 09:12:58, Henrik Grunell wrote: > On 2015/09/30 08:50:59, henrika wrote: > > But ...
5 years, 2 months ago (2015-10-02 13:50:17 UTC) #8
msu.koo
On 2015/10/02 13:50:17, Henrik Grunell wrote: > On 2015/09/30 09:12:58, Henrik Grunell wrote: > > ...
5 years, 2 months ago (2015-10-06 06:40:40 UTC) #9
msu.koo
On 2015/10/02 13:50:17, Henrik Grunell wrote: > On 2015/09/30 09:12:58, Henrik Grunell wrote: > > ...
5 years, 2 months ago (2015-10-06 06:40:42 UTC) #10
msu.koo
PTAL :)
5 years, 2 months ago (2015-10-07 00:42:14 UTC) #11
Henrik Grunell
LGTM. Note that you also need an owner to stamp/review.
5 years, 2 months ago (2015-10-07 10:09:14 UTC) #12
msu.koo
@mcasas, Could you take a look this CL?
5 years, 2 months ago (2015-10-07 10:12:21 UTC) #14
mcasas
RS LGTM https://chromiumcodereview.appspot.com/1377103002/diff/20001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://chromiumcodereview.appspot.com/1377103002/diff/20001/content/renderer/media/media_stream_audio_processor.cc#newcode141 content/renderer/media/media_stream_audio_processor.cc:141: DCHECK_LE(sample_rate_, 48000); Nit: Could |sample_rate| be a ...
5 years, 2 months ago (2015-10-09 23:48:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1377103002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1377103002/20001
5 years, 2 months ago (2015-10-10 11:29:35 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/65188)
5 years, 2 months ago (2015-10-10 11:52:52 UTC) #19
Henrik Grunell
https://chromiumcodereview.appspot.com/1377103002/diff/20001/content/renderer/media/media_stream_audio_processor.cc File content/renderer/media/media_stream_audio_processor.cc (right): https://chromiumcodereview.appspot.com/1377103002/diff/20001/content/renderer/media/media_stream_audio_processor.cc#newcode141 content/renderer/media/media_stream_audio_processor.cc:141: DCHECK_LE(sample_rate_, 48000); On 2015/10/09 23:48:48, mcasas wrote: > Nit: ...
5 years, 2 months ago (2015-10-12 08:02:58 UTC) #20
msu.koo
On 2015/10/10 11:52:52, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 2 months ago (2015-10-12 08:07:33 UTC) #21
msu.koo
On 2015/10/10 11:52:52, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 2 months ago (2015-10-12 08:07:35 UTC) #22
Henrik Grunell
On 2015/10/12 08:07:35, msu.koo wrote: > On 2015/10/10 11:52:52, commit-bot: I haz the power wrote: ...
5 years, 2 months ago (2015-10-12 11:13:53 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1377103002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1377103002/40001
5 years, 2 months ago (2015-10-13 23:54:16 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-14 00:53:42 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1377103002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1377103002/40001
5 years, 2 months ago (2015-10-14 00:55:42 UTC) #30
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-14 01:04:53 UTC) #31
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/c5eb149ca476765840fe4fa9b4762f97cea3dd92 Cr-Commit-Position: refs/heads/master@{#353932}
5 years, 2 months ago (2015-10-14 01:05:45 UTC) #32
Henrik Grunell
5 years, 2 months ago (2015-10-14 08:03:13 UTC) #33
Message was sent while issue was closed.
Unit test lgtm.

Powered by Google App Engine
This is Rietveld 408576698