UNPKG

@ng-web-apis/audio

Version:

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

14 lines (13 loc) 1.11 kB
import type { OnDestroy } from '@angular/core'; import { Subject } from 'rxjs'; import { AudioBufferService } from '../services/audio-buffer.service'; import * as i0 from "@angular/core"; export declare class WebAudioConvolver extends ConvolverNode implements OnDestroy { protected buffer$: Subject<AudioBuffer | string | null>; constructor(); protected static init(that: WebAudioConvolver, node: AudioNode | null, audioBufferService: AudioBufferService): void; set bufferSetter(source: AudioBuffer | string | null); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<WebAudioConvolver, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<WebAudioConvolver, "[waConvolverNode]", ["AudioNode"], { "normalize": { "alias": "normalize"; "required": false; }; "channelCount": { "alias": "channelCount"; "required": false; }; "channelCountMode": { "alias": "channelCountMode"; "required": false; }; "channelInterpretation": { "alias": "channelInterpretation"; "required": false; }; "bufferSetter": { "alias": "buffer"; "required": false; }; }, {}, never, never, true, never>; }