UNPKG

react-native-audio-api

Version:

react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification

12 lines (11 loc) 460 B
"use strict"; import AudioParam from "./AudioParam.web.js"; import AudioScheduledSourceNode from "./AudioScheduledSourceNode.web.js"; export default class ConstantSourceNode extends AudioScheduledSourceNode { constructor(context, options) { const node = new globalThis.ConstantSourceNode(context.context, options); super(context, node); this.offset = new AudioParam(node.offset, context); } } //# sourceMappingURL=ConstantSourceNode.web.js.map