diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-17 21:22:40 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-17 21:22:40 +0000 |
commit | 590d768106d7dbe9e00c1888e6f59f8bfefb7645 (patch) | |
tree | 970a76c529a8b43ee7d90a826d405bbe41d54e2e /main/channel.c | |
parent | 4b22e504ec664a49e638795b8fc5b6953d2c4137 (diff) |
Update the timing API to have better support for multiple timing interfaces.
1) Add module use count handling so that timing modules can be unloaded.
2) Implement unload_module() functions for the timing interface modules.
3) Allow multiple timing modules to be loaded, and use the one with the
highest priority value.
4) Report which timing module is being use in the "timing test" CLI command.
(closes issue #14489)
Reported by: russell
Review: http://reviewboard.digium.com/r/162/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@176666 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c index 344b3a9f1..3c36c51b7 100644 --- a/main/channel.c +++ b/main/channel.c @@ -2499,7 +2499,7 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio) } if (chan->timingfd > -1 && chan->fdno == AST_TIMING_FD) { - enum ast_timing_event res; + enum ast_timer_event res; ast_clear_flag(chan, AST_FLAG_EXCEPTION); |