shithub: jacksense

Download patch

ref: a1708de20b7a6cf3bba3b260770ac5559519fcd4
parent: e01279338dcc326300653ef97ec3f0988952c0b8
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Nov 17 11:39:19 EST 2020

turn volume to 0 and set new one a bit later

--- a/jacksense.c
+++ b/jacksense.c
@@ -85,6 +85,8 @@
 				newvol = spsafevol;
 
 			fprint(ctl, "pin %d\n", has ? hp : sp);
+			fprint(vol, "0\n");
+			sleep(50);
 			fprint(vol, "%d\n", newvol);
 		}
 		had = has;