From 027a3a0a71f2832931330643ec89a6aaf6f4eb4d Mon Sep 17 00:00:00 2001 From: 4rjunc Date: Sun, 15 Mar 2026 13:47:58 +0530 Subject: [PATCH] feat: add types for audio --- src/components/video-editor/types.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/video-editor/types.ts b/src/components/video-editor/types.ts index 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 {