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

Issue 15907005: Adds proper 44.1 support to WebRTC (Closed)

Created:
7 years, 6 months ago by henrika (OOO until Aug 14)
Modified:
7 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Adds proper 44.1 support to WebRTC. This CL removes the existing "WebRTC hack" where the native audio layer runs at 44.1 but WebRTC at 44.0. Now when native WebRTC supports 44100, it is possible to add the same support to WebRTC in Chrome. BUG=243450 TEST=content_unittests and misc. WebRTC clients using 44.1 as sample rate on input and output devices. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202713

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -48 lines) Patch
M content/renderer/media/webrtc_audio_capturer.cc View 2 chunks +4 lines, -24 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M content/renderer/media/webrtc_audio_renderer.cc View 3 chunks +8 lines, -16 lines 3 comments Download

Messages

Total messages: 13 (0 generated)
henrika (OOO until Aug 14)
Shijing, please check. Thanks.
7 years, 6 months ago (2013-05-28 12:25:39 UTC) #1
no longer working on chromium
On 2013/05/28 12:25:39, henrika wrote: > Shijing, > > please check. Thanks. lgtm if it ...
7 years, 6 months ago (2013-05-28 12:33:41 UTC) #2
ajm
+wjia Wei, you've been looking at sample rates on Android recently. Would it be possible ...
7 years, 6 months ago (2013-05-28 15:13:05 UTC) #3
henrika (OOO until Aug 14)
https://codereview.chromium.org/15907005/diff/1/content/renderer/media/webrtc_audio_renderer.cc File content/renderer/media/webrtc_audio_renderer.cc (left): https://codereview.chromium.org/15907005/diff/1/content/renderer/media/webrtc_audio_renderer.cc#oldcode156 content/renderer/media/webrtc_audio_renderer.cc:156: if (sample_rate % 8000 == 0) { You will ...
7 years, 6 months ago (2013-05-28 16:40:30 UTC) #4
ajm
lgtm with Wei's verification. https://codereview.chromium.org/15907005/diff/1/content/renderer/media/webrtc_audio_renderer.cc File content/renderer/media/webrtc_audio_renderer.cc (left): https://codereview.chromium.org/15907005/diff/1/content/renderer/media/webrtc_audio_renderer.cc#oldcode156 content/renderer/media/webrtc_audio_renderer.cc:156: if (sample_rate % 8000 == ...
7 years, 6 months ago (2013-05-28 16:43:22 UTC) #5
wjia(left Chromium)
On 2013/05/28 16:43:22, ajm wrote: > lgtm with Wei's verification. Based on my test on ...
7 years, 6 months ago (2013-05-28 18:46:54 UTC) #6
ajm
On 2013/05/28 18:46:54, wjia wrote: > On 2013/05/28 16:43:22, ajm wrote: > > lgtm with ...
7 years, 6 months ago (2013-05-28 18:54:34 UTC) #7
no longer working on chromium
Just to double check, this patch will only affect the case when browser is using ...
7 years, 6 months ago (2013-05-28 19:03:47 UTC) #8
wjia(left Chromium)
I tested it on Galaxy Nexus which returns 44100Hz for both input and output. On ...
7 years, 6 months ago (2013-05-28 19:06:05 UTC) #9
no longer working on chromium
Great. On Tue, May 28, 2013 at 9:06 PM, Wei Jia <wjia@chromium.org> wrote: > I ...
7 years, 6 months ago (2013-05-28 19:10:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/henrika@chromium.org/15907005/1
7 years, 6 months ago (2013-05-28 20:21:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/henrika@chromium.org/15907005/1
7 years, 6 months ago (2013-05-28 20:22:52 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 00:37:17 UTC) #13
Message was sent while issue was closed.
Change committed as 202713

Powered by Google App Engine
This is Rietveld 408576698