summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/blink/renderer/modules/webaudio/audio_param_descriptor.idl
blob: 085557d6016a9011ec4dd78aaab0e1ba50c611e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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.

// See: https://webaudio.github.io/web-audio-api/#dictdef-audioparamdescriptor
dictionary AudioParamDescriptor {
    required DOMString name;
    float defaultValue = 0;

    // TODO(hongchan): These numbers are minimum/maximum number possible for 
    // |float| type. Remove this comment when the spec is fixed.
    float minValue = -3.4028235e38;
    float maxValue = 3.4028235e38;

    AutomationRate automationRate = "a-rate";
};