aboutsummaryrefslogtreecommitdiffstats
path: root/translate.c
AgeCommit message (Collapse)AuthorFilesLines
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-5/+5
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-04Doxygen formatting fixesoej1-8/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31977 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31Add support for using a jitterbuffer for RTP on bridged calls. This includesrussell1-0/+21
a new implementation of a fixed size jitterbuffer, as well as support for the existing adaptive jitterbuffer implementation. (issue #3854, Slav Klenov) Thank you very much to Slav Klenov of Securax and all of the people involved in the testing of this feature for all of your hard work! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18correct array index calculation (thanks mtaht3!)kpfleming1-0/+5
update header file comments to reflect new usage of structure field git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21207 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17actually return the number steps... not the number of steps minus 1kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17add an API so that the number of steps required for a translation path can ↵kpfleming1-0/+10
be acquired don't transcode via SLINEAR when the option is enabled but there is a direct path from the source to the destination git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20962 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-13/+11
As partly documented in loader.c and include/asterisk/module.h, modules are now expected to return all of their methods and flags into a structure 'mod_data', and are normally loaded with RTLD_NOW | RTLD_LOCAL, so symbols are resolved immediately and conflicts should be less likely. Only in a small number of cases (res_*, typically) modules are loaded RTLD_GLOBAL, so they can export symbols. The core of the change is only the two files loader.c and include/asterisk/module.h, all the rest is simply adaptation of the existing modules to the new API, a rather mechanical (but believe me, time and finger-consuming!) process whose detail you can figure out by svn diff'ing any single module. Expect some minor compilation issue after this change, please report it on mantis http://bugs.digium.com/view.php?id=6968 so we collect all the feedback in one place. I am just sorry that this change missed SVN version number 20000! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11use proper typekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08merge rizzo's codec module rework (very similar to the format module rework)kpfleming1-221/+369
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18541 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29conversion from malloc to ast_mallocrussell1-4/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16006 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-25Bug fix for translation updates. Thanks Josh!mattf1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11119 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-25Merged revisions 11062,11089 via svnmerge from kpfleming1-44/+66
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r11062 | kpfleming | 2006-02-24 22:59:50 -0600 (Fri, 24 Feb 2006) | 3 lines reformat code to fit guidelines remember which translation paths are multi-step paths ........ r11089 | kpfleming | 2006-02-24 23:08:46 -0600 (Fri, 24 Feb 2006) | 2 lines factor the number of translation steps required into translation path decisions, so that equal cost paths that require fewer translations are preferred ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11090 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11lock list of translators *before* recalculating translation matrix.russell1-25/+21
Also, store translators using linked list macros. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7967 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14finish merging doxygen updates from issue #5605russell1-14/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-4/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25ensure translators don't generate old timestamps when silent periods end ↵kpfleming1-4/+13
(bug #4707 with formatting fixes) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6203 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25get rid of potential memory leakrussell1-32/+35
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6199 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-50/+18
of usses to use the new functions (bug #4504) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05print out which format was bigger than MAX_FORMATrussell1-3/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6019 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06remove experimental module version tagskpfleming1-0/+4
add per-file revision tags and 'show version files' CLI command git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29fix *BSD breakage from include-order changes (bug #4067)kpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5534 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22phase 1 of header include cleanup (bug #4067)kpfleming1-6/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-9/+9
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04optimize codec selection and format changing codekpfleming1-17/+18
force all transcode paths to use AST_FORMAT_SLINEAR as the frames pass through the bridge (can be disabled using the 'transcode_via_sln' setting in th 'options' setting in asteris.conf) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5376 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04Rework channel structure to eliminate "pvt" portion of channel (bug #3573)markster1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5137 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21update copyright headers for 2005russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-06Minor translation performance improvement (bug #2987, not that patch though)markster1-23/+30
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4393 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-01Rename newp to newpvt (bug #2190), change hold music.markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3560 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14Remaining rgagnon source audit improvements (bug #2011)markster1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3430 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22Misc formatting cleanupscitats1-14/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3279 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22Remove pthread.h from source. We should be using asterisk/lock.h everywhere ↵citats1-1/+0
instead (except in asterisk/lock.h). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-09Merge FreeBSD locking fixes (bug #1411)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-17Allow translation table to be recalculated, including with higher resolutionmarkster1-51/+84
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2996 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-21Log when we unload a translator (bug 1460)citats1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2730 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-20Don't dereference consumed frame delivery.markster1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2719 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-05Don't translate time for packets with no deliverymarkster1-44/+51
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2631 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-05Fix timestamps for codec translations with different sized framesmarkster1-5/+55
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2629 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-20Fix ast_translator_free_path (bug 1254)citats1-4/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2494 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-19It helps to use the local copy yo ucreatedmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2477 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-19First pass at populating delivery times through translation. Not sure how ↵markster1-1/+7
this will affect translations with different packet sizes, but it *ought* to resolve itself in the end. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2474 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-01Remove comment about EXPERIMENTAL_TRANSLATION since its not usedcitats1-7/+0
anywhere anymore git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2279 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-26Fix 'show translations'citats1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2249 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-25Don't be biased against G.726 in translation tablemarkster1-7/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2240 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-16Fix bug #111markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1351 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-16Show the names of the codecs instead of the numbers (bug #92)martinp1-18/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1348 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-13Totally revamp thread debugging to support locating and removing deadlocksmarkster1-9/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1310 f38db490-d61c-443f-a65b-d21fe96a405b