From b4ce00a899ee78811c6085984a1e7705cc98caed Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Sat, 16 Aug 2025 14:06:10 -0700 Subject: [PATCH] Uncomment /dev/zero stuff --- i2samp.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/i2samp.py b/i2samp.py index 5213d3b..140e982 100644 --- a/i2samp.py +++ b/i2samp.py @@ -112,12 +112,12 @@ WantedBy=multi-user.target""", append=False) shell.run_command("sudo systemctl daemon-reload") shell.run_command("sudo systemctl disable aplay") - #print("\nYou can optionally activate '/dev/zero' playback in\n" - # "the background at boot. This will remove all\n" - # "popping/clicking but does use some processor time.\n\n") - #if shell.prompt("Activate '/dev/zero' playback in background? [RECOMMENDED]\n", default="y"): - # shell.run_command("sudo systemctl enable aplay") - # reboot = True + print("\nYou can optionally activate '/dev/zero' playback in\n" + "the background at boot. This will remove all\n" + "popping/clicking but does use some processor time.\n\n") + if shell.prompt("Activate '/dev/zero' playback in background? [RECOMMENDED]\n", default="y"): + shell.run_command("sudo systemctl enable aplay") + reboot = True if driver_loaded("max98357a"): print(f"\nWe can now test your {PRODUCT_NAME}")