UNPKG

@ng-web-apis/audio

Version:

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

14 lines (13 loc) 1.05 kB
import type { OnDestroy } from '@angular/core'; import { EventEmitter } from '@angular/core'; import type { AudioParamInput } from '../types/audio-param-input'; import * as i0 from "@angular/core"; export declare class WebAudioConstantSource extends ConstantSourceNode implements OnDestroy { offsetParam?: AudioParamInput; ended: EventEmitter<void>; constructor(autoplay: string | null, offset: string | null); readonly onended: () => void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<WebAudioConstantSource, [{ attribute: "autoplay"; }, { attribute: "offset"; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<WebAudioConstantSource, "[waConstantSourceNode]", ["AudioNode"], { "channelCount": { "alias": "channelCount"; "required": false; }; "channelCountMode": { "alias": "channelCountMode"; "required": false; }; "channelInterpretation": { "alias": "channelInterpretation"; "required": false; }; "offsetParam": { "alias": "offset"; "required": false; }; }, { "ended": "ended"; }, never, never, true, never>; }