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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioUtilities.cpp

Issue 2334773003: Support sample rates up to 384 kHz. (Closed)
Patch Set: Rebase and fix up histograms.xml Created 4 years, 2 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 89c10ab578854935f45ec88ec37efc324d5aba2f..abb0e882cdb725acacac89b3b49e4363aa04f17d 100644
--- a/third_party/WebKit/Source/platform/audio/AudioUtilities.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioUtilities.cpp
@@ -69,9 +69,9 @@ 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
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698