summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/blink/renderer/modules/webaudio/audio_context_options.idl
blob: 68c281af40fefa27536ca4a8544cd7aa30af9f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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/#AudioContextOptions
dictionary AudioContextOptions {
    // If passed as a double this should be the requested output latency in
    // seconds, without taking into account double buffering (same as
    // AudioContext.baseLatency).
    (AudioContextLatencyCategory or double) latencyHint = "interactive";
    float sampleRate;
};