summaryrefslogtreecommitdiff
path: root/apps/web/src/types
diff options
context:
space:
mode:
authorPriyankar Pal <88102392+priyankarpal@users.noreply.github.com>2025-06-25 20:16:15 +0530
committerGitHub <noreply@github.com>2025-06-25 20:16:15 +0530
commitc322ad1124aea02169b2094498cac5b6da54dd5b (patch)
tree1b707366856a93622e73317f3e58a33e51ef29d0 /apps/web/src/types
parent992b0cbf23a14d5d1b1a51911cbf330a92acc678 (diff)
parent0ae852c185d5d3ff0bd94310bd8000de8bed5ccc (diff)
downloadopencut-c322ad1124aea02169b2094498cac5b6da54dd5b.tar.gz
Merge branch 'main' into split-issue-83
Diffstat (limited to 'apps/web/src/types')
-rw-r--r--apps/web/src/types/playback.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/web/src/types/playback.ts b/apps/web/src/types/playback.ts
index 3fbd1a02..8758ea03 100644
--- a/apps/web/src/types/playback.ts
+++ b/apps/web/src/types/playback.ts
@@ -4,6 +4,8 @@ export interface PlaybackState {
duration: number;
volume: number;
speed: number;
+ muted: boolean;
+ previousVolume?: number;
}
export interface PlaybackControls {
@@ -13,4 +15,7 @@ export interface PlaybackControls {
setVolume: (volume: number) => void;
setSpeed: (speed: number) => void;
toggle: () => void;
-} \ No newline at end of file
+ mute: () => void;
+ unmute: () => void;
+ toggleMute: () => void;
+}