summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/blink/renderer/modules/webaudio/oscillator_options.idl
blob: d9e7ef88ba758bb390356fd7de62680c2a994c7d (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2016 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-oscillatoroptions
dictionary OscillatorOptions : AudioNodeOptions {
    OscillatorType type = "sine";
    float detune = 0;
    float frequency = 440;
    PeriodicWave? periodicWave;
};