blob: fe9de8445a29c1f69983537555a648536fc5852b [file] [log] [blame]
// 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.
// https://webaudio.github.io/web-audio-api/#AudioWorkletGlobalScope
[
Exposed=AudioWorklet,
Global=(Worklet,AudioWorklet),
RuntimeEnabled=AudioWorklet
] interface AudioWorkletGlobalScope : WorkletGlobalScope {
[RaisesException] void registerProcessor(DOMString name, Function processorConstructor);
readonly attribute double currentTime;
readonly attribute float sampleRate;
};