Still store timing
authorMark Spencer <markster@digium.com>
Tue, 1 Jul 2003 23:17:10 +0000 (23:17 +0000)
committerMark Spencer <markster@digium.com>
Tue, 1 Jul 2003 23:17:10 +0000 (23:17 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1155 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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
                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         
 #endif         
+                       s->owner->streamid = ast_sched_add(s->owner->sched, whennext/8, ast_readaudio_callback, s);
                s->lasttimeout = whennext;
                return 0;
        }
                s->lasttimeout = whennext;
                return 0;
        }