diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-04-24 17:11:45 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-04-24 17:11:45 +0000 |
commit | 574e14cbea69b596a9a540b6401f2a087ec1e9ac (patch) | |
tree | 170532911902642fdae405ec644509398b0b6ee5 /file.c | |
parent | 746c984500cc209a5140c89eb98ec6aabb2fcd2a (diff) |
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -618,14 +618,14 @@ static int ast_readaudio_callback(void *data) if (fr) ast_log(LOG_WARNING, "Failed to write frame\n"); s->owner->streamid = -1; -#ifdef ZAPTEL_OPTIMIZATIONS +#ifdef HAVE_ZAPTEL ast_settimeout(s->owner, 0, NULL, NULL); #endif return 0; } } if (whennext != s->lasttimeout) { -#ifdef ZAPTEL_OPTIMIZATIONS +#ifdef HAVE_ZAPTEL if (s->owner->timingfd > -1) ast_settimeout(s->owner, whennext, ast_readaudio_callback, s); else @@ -710,7 +710,7 @@ int ast_closestream(struct ast_filestream *f) if (f->owner->streamid > -1) ast_sched_del(f->owner->sched, f->owner->streamid); f->owner->streamid = -1; -#ifdef ZAPTEL_OPTIMIZATIONS +#ifdef HAVE_ZAPTEL ast_settimeout(f->owner, 0, NULL, NULL); #endif } else { |