diff --git a/file.c b/file.c index bd90840654802708ba064dd4457e16a188c3d1e1..f0d324255f375a4f67025b8a0088e546c9499f14 100755 --- 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; }