mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Still store timing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
file.c
3
file.c
@@ -527,9 +527,8 @@ static int ast_readaudio_callback(void *data)
|
|||||||
if (s->owner->timingfd > -1)
|
if (s->owner->timingfd > -1)
|
||||||
ast_settimeout(s->owner, whennext, ast_readaudio_callback, s);
|
ast_settimeout(s->owner, whennext, ast_readaudio_callback, s);
|
||||||
else
|
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;
|
s->lasttimeout = whennext;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user