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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp

Issue 2334773003: Support sample rates up to 384 kHz. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
index 0a5699da99a0a795ead0eb89edbf14531c76573d..9c1d943302730e0795005750650a08a98ad2c249 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
@@ -106,7 +106,7 @@ OfflineAudioContext* OfflineAudioContext::create(ExecutionContext* context, unsi
// AudioUtilities::maxAudioBufferSampleRate(). The number of buckets is
// fairly arbitrary.
DEFINE_STATIC_LOCAL(CustomCountHistogram, offlineContextSampleRateHistogram,
- ("WebAudio.OfflineAudioContext.SampleRate", 3000, 192000, 50));
+ ("WebAudio.OfflineAudioContext.SampleRate", 3000, 384000, 50));
Mark P 2016/09/13 19:06:39 Widening the histogram like this is messy because
Raymond Toy 2016/09/13 20:12:28 Yeah, I suspected it would make a mess of the exis
offlineContextChannelCountHistogram.sample(numberOfChannels);
offlineContextLengthHistogram.count(numberOfFrames);

Powered by Google App Engine
This is Rietveld 408576698