blob: 68c281af40fefa27536ca4a8544cd7aa30af9f45 [file] [log] [blame]
// 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;
};