X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=c%2Fghetto-sound-system%2Fbeatdetect.c;h=bb4a191da6723fbea8f7b65ce92add9729a7f5b1;hb=75e2456441dd2360b17b5e08022e91f8bb9331df;hp=d382215cf71dfb5ba8a60ccacc65f813d41a258e;hpb=3f407b74bf7a4525214268dd5bc3ef35f43fafe1;p=mirrors%2FPrograms.git diff --git a/c/ghetto-sound-system/beatdetect.c b/c/ghetto-sound-system/beatdetect.c index d382215..bb4a191 100644 --- a/c/ghetto-sound-system/beatdetect.c +++ b/c/ghetto-sound-system/beatdetect.c @@ -80,7 +80,10 @@ } else { int j; for(j=0;j<128;j++) if((int)buf[j] > 1000) { - printf("BOOM! %d\n", (int)buf[j]); + //printf("BOOM! %d\n", (int)buf[j]); + //puts(""); + putchar('!'); + fflush(stdout); break; } }