Create polished demo videos without editing skills. Mac/Windows/Linux
feat: add types for audio
4rjunc027a3a0a71f2
diff --git a/src/components/video-editor/types.ts b/src/components/video-editor/types.tsindex fa782ce0..46f66f79 100644--- a/src/components/video-editor/types.ts+++ b/src/components/video-editor/types.ts@@ -137,6 +137,14 @@ export const DEFAULT_CROP_REGION: CropRegion = {height: 1,};+export interface AudioRegion {+ id: string;+ startMs: number;+ endMs: number;+ audioPath: string;+ volume: number;+}+export type PlaybackSpeed = 0.25 | 0.5 | 0.75 | 1.25 | 1.5 | 1.75 | 2;export interface SpeedRegion {