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

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

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Created 4 years, 1 month 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/BaseAudioContext.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl
index 274ea99c335be7167422a0e2fa788cd30eb5e31a..e6f3a5cb4a8fc1bf053c4492abefcb189ef923f9 100644
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.idl
@@ -9,6 +9,12 @@ enum AudioContextState {
"closed"
};
+enum AudioContextLatencyCategory {
+ "balanced",
+ "interactive",
+ "playback"
+};
Raymond Toy 2016/11/15 18:16:17 I think this should be defined in AudioContext.idl
Andrew MacPherson 2016/11/16 10:58:29 You're right, this will be fixed in the next commi
+
[
ActiveScriptWrappable,
DependentLifetime,

Powered by Google App Engine
This is Rietveld 408576698