feat(playback-types): add muted state and mute controls to PlaybackState and PlaybackControls interfaces

This commit is contained in:
DevloperAmanSingh
2025-06-25 13:28:04 +05:30
parent e14e137212
commit 3a6cfd73e4

View File

@ -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;
}
mute: () => void;
unmute: () => void;
toggleMute: () => void;
}