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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioUtilities.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/platform/audio/AudioUtilities.cpp
diff --git a/third_party/WebKit/Source/platform/audio/AudioUtilities.cpp b/third_party/WebKit/Source/platform/audio/AudioUtilities.cpp
index f162c6be9079d852a87351ac80e4471417bbf4e3..8086478584c6cea43e5809418641f64a3d24a5ff 100644
--- a/third_party/WebKit/Source/platform/audio/AudioUtilities.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioUtilities.cpp
@@ -73,8 +73,8 @@ float minAudioBufferSampleRate()
float maxAudioBufferSampleRate()
{
- // Windows can support audio sampling rates this high, so allow AudioBuffer rates this high as well.
- return 192000;
+ // <video> tags support sample rates up 384 kHz so audio context should too.
+ return 384000;
}
} // namespace AudioUtilities

Powered by Google App Engine
This is Rietveld 408576698