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

Issue 12937017: In some rare cases it has been found that Windows returns a sample-rate of 0, even though it's capa… (Closed)

Created:
7 years, 9 months ago by Chris Rogers
Modified:
7 years, 9 months ago
Reviewers:
jamesr, DaleCurtis
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

In some rare cases it has been found that Windows returns a sample-rate of 0, even though it's capable of rendering audio with WASAPI. For the Web Audio API, Let's make sure to return a sane fallback sample-rate. BUG=222718 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190506

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M content/renderer/renderer_webkitplatformsupport_impl.cc View 1 chunk +17 lines, -1 line 2 comments Download

Messages

Total messages: 7 (0 generated)
Chris Rogers
Hopeful fix to: http://crbug.com/222718 dalecurtis: audio review jamesr: content OWNER approval
7 years, 9 months ago (2013-03-25 21:22:08 UTC) #1
jamesr
lgtm for content/renderer/, although Dale (or someone else audio-ish) should review for content. Is there ...
7 years, 9 months ago (2013-03-25 21:23:32 UTC) #2
Chris Rogers
On 2013/03/25 21:23:32, jamesr wrote: > lgtm for content/renderer/, although Dale (or someone else audio-ish) ...
7 years, 9 months ago (2013-03-25 21:26:47 UTC) #3
DaleCurtis
https://codereview.chromium.org/12937017/diff/1/content/renderer/renderer_webkitplatformsupport_impl.cc File content/renderer/renderer_webkitplatformsupport_impl.cc (right): https://codereview.chromium.org/12937017/diff/1/content/renderer/renderer_webkitplatformsupport_impl.cc#newcode642 content/renderer/renderer_webkitplatformsupport_impl.cc:642: static const int kMinSampleRate = 22050; How about calling ...
7 years, 9 months ago (2013-03-25 21:29:39 UTC) #4
Chris Rogers
https://codereview.chromium.org/12937017/diff/1/content/renderer/renderer_webkitplatformsupport_impl.cc File content/renderer/renderer_webkitplatformsupport_impl.cc (right): https://codereview.chromium.org/12937017/diff/1/content/renderer/renderer_webkitplatformsupport_impl.cc#newcode642 content/renderer/renderer_webkitplatformsupport_impl.cc:642: static const int kMinSampleRate = 22050; On 2013/03/25 21:29:39, ...
7 years, 9 months ago (2013-03-25 22:46:45 UTC) #5
DaleCurtis
Discussed via chat, the sample rates needed here are different than those used by media/. ...
7 years, 9 months ago (2013-03-25 22:50:25 UTC) #6
Chris Rogers
7 years, 9 months ago (2013-03-25 22:55:44 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 manually as r190506 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698