Still store timing
[asterisk/asterisk.git] / file.c
diff --git a/file.c b/file.c
index bd90840..f0d3242 100755 (executable)
--- a/file.c
+++ b/file.c
@@ -527,9 +527,8 @@ static int ast_readaudio_callback(void *data)
                if (s->owner->timingfd > -1)
                        ast_settimeout(s->owner, whennext, ast_readaudio_callback, s);
                else
-#else
-               s->owner->streamid = ast_sched_add(s->owner->sched, whennext/8, ast_readaudio_callback, s);
 #endif         
+                       s->owner->streamid = ast_sched_add(s->owner->sched, whennext/8, ast_readaudio_callback, s);
                s->lasttimeout = whennext;
                return 0;
        }