UNPKG

remotion

Version:

Make videos programmatically

15 lines (14 loc) 502 B
import { type RefObject } from 'react'; import type { LogLevel } from './log'; type AudioItems = { gainNode: GainNode; source: MediaElementAudioSourceNode; audioContext: AudioContext; }; export declare const getShouldAmplify: (volume: number) => boolean; export declare const useAmplification: ({ mediaRef, volume, logLevel, }: { mediaRef: RefObject<HTMLAudioElement | HTMLVideoElement | null>; volume: number; logLevel: LogLevel; }) => RefObject<AudioItems | null>; export {};