react-native-audio-api
Version:
react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification
11 lines • 576 B
TypeScript
export declare function formatTime(seconds: number): string;
export declare function timeFromLocationX(locationX: number, trackWidth: number, durationSeconds: number): number;
export declare function useExpandableTrackHeight(trackBarHeight: number, trackBarHeightPressed: number, trackBarAnimMs: number): {
animatedStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
height: number;
borderRadius: number;
}>;
expand: () => void;
collapse: () => void;
};
//# sourceMappingURL=audioControlUtils.d.ts.map