Bug 1504982 - Add AutomationRate webidl definition. r=baku
authorArnaud Bienner <arnaud.bienner@gmail.com>
Wed, 07 Nov 2018 08:04:41 +0000
changeset 444808 c8d601b8442d3fb4aa71bcf0b447035ffa8dcc5d
parent 444807 245c309e5a26088eef310f55edb079b0d6a1188a
child 444809 6a72d0e28508814fd8b35d05ef12c129c00b29f9
push id35003
push userncsoregi@mozilla.com
push dateWed, 07 Nov 2018 16:16:52 +0000
treeherdermozilla-central@4407a6d3e374 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1504982
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1504982 - Add AutomationRate webidl definition. r=baku Differential Revision: https://phabricator.services.mozilla.com/D11023
dom/webidl/AudioParam.webidl
--- a/dom/webidl/AudioParam.webidl
+++ b/dom/webidl/AudioParam.webidl
@@ -5,16 +5,21 @@
  *
  * The origin of this IDL file is
  * https://webaudio.github.io/web-audio-api/
  *
  * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
  * liability, trademark and document use rules apply.
  */
 
+enum AutomationRate {
+    "a-rate",
+    "k-rate"
+};
+
 [Pref="dom.webaudio.enabled"]
 interface AudioParam {
 
                     attribute float value;
     readonly        attribute float defaultValue;
     readonly        attribute float minValue;
     readonly        attribute float maxValue;