UNPKG

@ng-web-apis/audio

Version:

This is a library for declarative use of Web Audio API with Angular

12 lines (11 loc) 848 B
import type { OnDestroy } from '@angular/core'; import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export declare class WebAudioWorklet extends AudioWorkletNode implements OnDestroy { processorerror: EventEmitter<void>; constructor(name: string); readonly onprocessorerror: () => void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<WebAudioWorklet, [{ attribute: "name"; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<WebAudioWorklet, "[waAudioWorkletNode][name]", ["AudioNode"], { "channelCount": { "alias": "channelCount"; "required": false; }; "channelCountMode": { "alias": "channelCountMode"; "required": false; }; "channelInterpretation": { "alias": "channelInterpretation"; "required": false; }; }, { "processorerror": "processorerror"; }, never, never, true, never>; }