introduce audio filters

This commit is contained in:
Aleix Conchillo Flaqué
2024-10-17 16:42:21 -07:00
parent 126324ca1b
commit abc8ede3d7
7 changed files with 97 additions and 4 deletions

View File

@@ -584,9 +584,30 @@ class VADParamsUpdateFrame(ControlFrame):
params: VADParams
@dataclass
class FilterControlFrame(ControlFrame):
"""Base control frame for other audio filter frames."""
pass
@dataclass
class FilterUpdateSettingsFrame(FilterControlFrame):
"""Control frame to update filter settings."""
settings: Mapping[str, Any]
@dataclass
class FilterEnableFrame(FilterControlFrame):
"""Control frame to enable or disable the filter at runtime."""
enable: bool
@dataclass
class MixerControlFrame(ControlFrame):
"""Base control frame for other mixer frames."""
"""Base control frame for other audio mixer frames."""
pass