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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioContextOptions.idl

Issue 2750543003: Support AudioContextOptions latencyHint as double. (Closed)
Patch Set: Refactor audiocontextoptions LayoutTest. Created 3 years, 8 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/AudioContextOptions.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioContextOptions.idl b/third_party/WebKit/Source/modules/webaudio/AudioContextOptions.idl
index 93f5c402de0d5294f4cd35b943c7e4b0a0143a0d..6fc6a38e91df62e2afc63ee32b825f6e41bd2a05 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioContextOptions.idl
+++ b/third_party/WebKit/Source/modules/webaudio/AudioContextOptions.idl
@@ -4,5 +4,8 @@
// See https://webaudio.github.io/web-audio-api/#audiocontextoptions
dictionary AudioContextOptions {
+ // If passed as a double this should be the requested output latency in
+ // seconds, without taking into account double buffering (same as
+ // AudioContext.baseLatency).
(AudioContextLatencyCategory or double) latencyHint = "interactive";
};

Powered by Google App Engine
This is Rietveld 408576698