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

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

Issue 2334773003: Support sample rates up to 384 kHz. (Closed)
Patch Set: Mark old histograms obsolete 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..f214a1e85aaad66ef480856d08f49392d3411942 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.SampleRate384k", 3000, 384000, 50));
offlineContextChannelCountHistogram.sample(numberOfChannels);
offlineContextLengthHistogram.count(numberOfFrames);

Powered by Google App Engine
This is Rietveld 408576698