Mute microphone during awake wav

This commit is contained in:
Michael Hansen
2024-01-16 17:06:30 -06:00
parent ebc686d9ad
commit 73604f9a71
6 changed files with 78 additions and 34 deletions
+5 -4
View File
@@ -119,12 +119,13 @@ def apply_settings(settings: Settings) -> None:
error("installing audio enhancements")
return
if settings.satellite.event_service_command and (("2mic" in settings.satellite.event_service_command) or ("4mic" in settings.satellite.event_service_command)):
if settings.satellite.event_service_command and (
("2mic" in settings.satellite.event_service_command)
or ("4mic" in settings.satellite.event_service_command)
):
result = run_with_gauge(
"Installing event requirements...",
[
pip_install("-r", str(PROGRAM_DIR / "requirements_respeaker.txt"))
],
[pip_install("-r", str(PROGRAM_DIR / "requirements_respeaker.txt"))],
)
if not result:
error("installing event requirements")