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

Issue 2932063002: Clean up DCHECKs in MediaStreamAudioProcessor (Closed)

Created:
3 years, 6 months ago by aleloi_chromium
Modified:
3 years, 6 months ago
Reviewers:
aleloi2, hbos_chromium
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, imcheng+watch_chromium.org, feature-media-reviews_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, jam, avayvod+watch_chromium.org, darin-cc_chromium.org, jasonroberts+watch_google.com, xjz+watch_chromium.org, mfoltz+watch_chromium.org, isheriff+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up DCHECKs in MediaStreamAudioProcessor In http://crrev/2699113002, MediaStreamAudioProcessor was made to always register itself as a WebRtcPlayoutDataSource::Sink in AudioDeviceImpl, independently of doing echo cancellation or not. DCHECKs were left in MediaStreamAudioProcessor::OnPlayoutData that checked that echo cancellation was active. That is an invalid assumption, because we always want to register the MediaStreamAudioProcessor and run audio through webrtc::AudioProcessingModule (which has other functionality but echo cancellation, e.g. noise suppression or echo detection). The assumption that echo cancellation is active is not used anywhere else in the code. This CL removes these DCHECKs. BUG=702441 Review-Url: https://codereview.chromium.org/2932063002 Cr-Commit-Position: refs/heads/master@{#478241} Committed: https://chromium.googlesource.com/chromium/src/+/0729944af28ece2d2a2c215de01ecc2dba29a7e3

Patch Set 1 #

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

Messages

Total messages: 12 (8 generated)
aleloi2
Hi, can you PTAL?
3 years, 6 months ago (2017-06-09 07:50:50 UTC) #4
hbos_chromium
lgtm
3 years, 6 months ago (2017-06-09 07:58:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2932063002/1
3 years, 6 months ago (2017-06-09 10:33:00 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 10:38:09 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/0729944af28ece2d2a2c215de01e...

Powered by Google App Engine
This is Rietveld 408576698