Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/modules/mediacapabilities/AudioConfiguration.idl

Issue 2685863004: Media Capabilities: stub implementation of mediaCapabilities.query(). (Closed)
Patch Set: review comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/modules/mediacapabilities/AudioConfiguration.idl
diff --git a/third_party/WebKit/Source/modules/mediacapabilities/AudioConfiguration.idl b/third_party/WebKit/Source/modules/mediacapabilities/AudioConfiguration.idl
new file mode 100644
index 0000000000000000000000000000000000000000..3c4128b5c783f734f589a139114ea7b6a1471cca
--- /dev/null
+++ b/third_party/WebKit/Source/modules/mediacapabilities/AudioConfiguration.idl
@@ -0,0 +1,13 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// https://wicg.github.io/media-capabilities/#dictdef-audioconfiguration
+
+dictionary AudioConfiguration {
+ required DOMString type;
+
+ DOMString channels;
+ unsigned long bitrate;
+ unsigned long sampleprate;
+};

Powered by Google App Engine