UNPKG

recorder-audio-worklet

Version:

This module provides a loader for the RecorderAudioWorkletProcessor and the corresponding RecorderAudioWorkletNode.

7 lines 1.05 kB
import { isSupported } from 'worker-factory'; export * from './interfaces/index'; export * from './types/index'; export declare const addRecorderAudioWorkletModule: (addAudioWorkletModule: (url: string) => Promise<void>) => Promise<void>; export declare const createRecorderAudioWorkletNode: <T extends import("standardized-audio-context").TContext | import("standardized-audio-context").TNativeContext>(audioWorkletNodeConstructor: T extends import("standardized-audio-context").TContext ? import("standardized-audio-context").TAudioWorkletNodeConstructor : import("standardized-audio-context").TNativeAudioWorkletNodeConstructor, context: T, options?: Partial<import("./types/any-recorder-audio-worklet-node-options").TAnyRecorderAudioWorkletNodeOptions<T>>) => T extends import("standardized-audio-context").TContext ? import("./interfaces/recorder-audio-worklet-node").IRecorderAudioWorkletNode<T> : import("./interfaces/native-recorder-audio-worklet-node").INativeRecorderAudioWorkletNode; export { isSupported }; //# sourceMappingURL=module.d.ts.map