react-native-tiny-wavpack-decoder
Version:
Tiny WavPack Decoder for React Native
18 lines • 641 B
TypeScript
import { type EmitterSubscription } from 'react-native';
export interface TinyWavPackDecoderOptions {
maxSamples?: number;
bitsPerSample?: 8 | 16 | 24 | 32;
}
declare const TinyWavPackDecoder: {
decode: (inputPath: string, outputPath: string, options?: TinyWavPackDecoderOptions) => Promise<string>;
/**
* Subscribe to native progress updates
*/
addProgressListener: (callback: (progress: number) => void) => EmitterSubscription;
/**
* Remove all native listeners for progress updates
*/
removeAllListeners: () => void;
};
export default TinyWavPackDecoder;
//# sourceMappingURL=index.d.ts.map