From 3a6cfd73e4315ce997552e39916c7434286e413d Mon Sep 17 00:00:00 2001 From: DevloperAmanSingh Date: Wed, 25 Jun 2025 13:28:04 +0530 Subject: [PATCH] feat(playback-types): add muted state and mute controls to PlaybackState and PlaybackControls interfaces --- apps/web/src/types/playback.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/web/src/types/playback.ts b/apps/web/src/types/playback.ts index 3fbd1a0..8758ea0 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; +}