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

18 lines 719 B
import type { ShareableWorkletCallback } from '../jsi-interfaces'; export interface WorkletRuntime { __hostObjectWorkletRuntime: never; readonly name: string; } export interface IWorkletsModule { makeShareableCloneRecursive: (workletCallback: ShareableWorkletCallback) => ShareableWorkletCallback; createWorkletRuntime: (runtimeName: string) => WorkletRuntime; } export interface IAudioAPIModule { get workletsModule(): IWorkletsModule | null; get canUseWorklets(): boolean; get workletsVersion(): string; get areWorkletsAvailable(): boolean; get isWorkletsVersionSupported(): boolean; createAudioRuntime(): WorkletRuntime | null; } //# sourceMappingURL=ModuleInterfaces.d.ts.map