Stefan Knoblich 85e2eaaf58 FreeTDM: Fix "ftdm core flags/spanflags" with flag names
"x >> 1" is _NOT_ the reverse of "1 << x"...

Use code from Sean Eron Andersen's "Bit Twiddling Hacks"
(=> http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog)
to compute the log2 value (= position in the enum) of the bitflag.

This preserves the current behaviour, which is rather odd because
it is based on the position of the value in the enum, not its
actual (bit flag) value.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-01 22:30:45 +02:00
2013-05-25 21:40:40 +00:00
2013-05-31 11:44:58 -07:00
2009-02-13 23:33:36 +00:00
2013-04-22 23:18:49 +08:00
2013-02-05 17:31:43 -06:00
2012-10-10 13:57:31 -05:00
2013-04-09 18:12:47 -05:00
2010-04-01 21:00:45 -04:00
2012-05-28 16:35:00 +00:00
2013-04-12 08:53:01 -05:00
2013-02-11 16:42:10 +00:00
2009-10-02 14:44:16 +00:00
2013-05-24 14:25:07 -05:00
2012-05-15 10:20:52 -05:00
2010-01-23 20:19:18 +00:00
2009-11-18 19:42:00 +00:00
2013-04-08 21:17:02 -05:00
2013-04-04 20:52:47 -05:00
wip
2013-03-31 21:27:22 -05:00
add
2011-10-21 10:15:15 -05:00
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
267 MiB
Languages
C 64.4%
C++ 21.8%
JavaScript 4.7%
Assembly 2%
Makefile 1%
Other 5.4%