introduce audio filters
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user