From ff73404bb6a7ec8eaa0815c5d1a95906a7bfa82d Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Tue, 4 Sep 2012 10:03:22 +0200 Subject: [PATCH] re-enable timer --- sndiod/file.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sndiod/file.c b/sndiod/file.c index 26cf88a..2e7c9ca 100644 --- a/sndiod/file.c +++ b/sndiod/file.c @@ -440,14 +440,12 @@ filelist_init(void) it.it_interval.tv_usec = TIMER_USEC; it.it_value.tv_sec = 0; it.it_value.tv_usec = TIMER_USEC; -#if 0 if (setitimer(ITIMER_REAL, &it, NULL) < 0) { perror("setitimer"); exit(1); } -#endif timo_init(); - //log_sync = 0; + log_sync = 0; } void