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

Issue 2334773003: Support sample rates up to 384 kHz. (Closed)

Created:
4 years, 3 months ago by Raymond Toy
Modified:
4 years, 2 months ago
Reviewers:
Mark P, hongchan
CC:
chromium-reviews, blink-reviews, haraken, hongchan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support sample rates up to 384 kHz. Allow AudioContext and OfflineAudioContext to support sample rates up to 384 kHz. The <video> tag supports this already. This also means that AudioBuffer's also support these rates. Update tests to test for this. BUG=644683 TEST=dom-exceptions.html, offlineaudiocontext-constructor.html Committed: https://crrev.com/b907faaeab1c40d2081e951a198248e32fdf6242 Cr-Commit-Position: refs/heads/master@{#424801}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename histogram names #

Patch Set 3 : Mark old histograms obsolete #

Total comments: 7

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase and fix up histograms.xml #

Messages

Total messages: 29 (15 generated)
Raymond Toy
PTAL.
4 years, 3 months ago (2016-09-12 18:50:43 UTC) #4
Raymond Toy
mpearson@ Can you take a look at the histogram changes in OfflineAudioContext.cpp? We're widening the ...
4 years, 3 months ago (2016-09-12 18:54:08 UTC) #6
Mark P
https://codereview.chromium.org/2334773003/diff/1/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp (right): https://codereview.chromium.org/2334773003/diff/1/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp#newcode109 third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp:109: ("WebAudio.OfflineAudioContext.SampleRate", 3000, 384000, 50)); Widening the histogram like this ...
4 years, 3 months ago (2016-09-13 19:06:39 UTC) #9
Raymond Toy
https://codereview.chromium.org/2334773003/diff/1/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp (right): https://codereview.chromium.org/2334773003/diff/1/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp#newcode109 third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp:109: ("WebAudio.OfflineAudioContext.SampleRate", 3000, 384000, 50)); On 2016/09/13 19:06:39, Mark P ...
4 years, 3 months ago (2016-09-13 20:12:28 UTC) #10
Mark P
histograms.xml lgtm once you *carefully* resolve the serious issues below --mark https://codereview.chromium.org/2334773003/diff/40001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp (right): ...
4 years, 3 months ago (2016-09-15 23:16:31 UTC) #11
hongchan
lgtm with nits https://codereview.chromium.org/2334773003/diff/40001/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt File third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt (right): https://codereview.chromium.org/2334773003/diff/40001/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt#newcode7 third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt:7: PASS context = new OfflineAudioContext(2, 512, ...
4 years, 2 months ago (2016-09-26 17:17:54 UTC) #12
Raymond Toy
https://codereview.chromium.org/2334773003/diff/40001/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt File third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt (right): https://codereview.chromium.org/2334773003/diff/40001/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt#newcode7 third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt:7: PASS context = new OfflineAudioContext(2, 512, 2999) threw exception ...
4 years, 2 months ago (2016-09-26 17:35:09 UTC) #13
Raymond Toy
On 2016/09/15 23:16:31, Mark P wrote: > histograms.xml lgtm once you *carefully* resolve the serious ...
4 years, 2 months ago (2016-09-28 21:34:09 UTC) #14
Raymond Toy
https://codereview.chromium.org/2334773003/diff/40001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp (right): https://codereview.chromium.org/2334773003/diff/40001/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp#newcode273 third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp:273: ("WebAudio.AudioBuffer.SampleRateRatio384K", 0, 12800, 50)); On 2016/09/15 23:16:31, Mark P ...
4 years, 2 months ago (2016-10-10 16:28:32 UTC) #19
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/2334773003/100001
4 years, 2 months ago (2016-10-11 20:47:29 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/241536) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 2 months ago (2016-10-11 20:55:02 UTC) #24
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/2334773003/100001
4 years, 2 months ago (2016-10-12 17:12:22 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-12 18:39:00 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 18:42:08 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b907faaeab1c40d2081e951a198248e32fdf6242
Cr-Commit-Position: refs/heads/master@{#424801}

Powered by Google App Engine
This is Rietveld 408576698