// Copyright 2017 The Chromium Authors
// 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;
(DOMString or AudioSinkOptions) sinkId;
};