aboutsummaryrefslogtreecommitdiffstats
path: root/main/translate.c
AgeCommit message (Collapse)AuthorFilesLines
2007-06-06Fix plc_samples warning when registering a translator. (issue #9897 reported ↵file1-1/+1
by xylome) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67631 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24Fix handling of zero-length frames when a codec is capable of native PLC.qwell1-1/+3
Issue 9183, patch by Mihai. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65877 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-24bug 8189 posted this fix for main/translate.c for PLCmurf1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47992 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Fix "core show translation" output. Issue #8243, patch by Damin.qwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46716 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31add an API so that translators can activate/deactivate themselves when neededkpfleming1-6/+37
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46714 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31revert changes that were the wrong way to address this... proper fix comingkpfleming1-48/+39
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46713 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31let's set the seen flag early enough to actually make a difference...kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46712 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31don't re-do setup operations for translators that can dynamically register ↵kpfleming1-39/+48
themselves git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46711 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Add a small tweak to the code that checks to see whether destination formatsrussell1-3/+6
are translatable based on the source format. If we have already determined that there is no translation path in one direction, don't bother checking the other direction. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46554 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30when unregistering a translator, don't rebuild the translation matrix unless ↵kpfleming1-1/+17
needed when filtering formats out of an offer, ensure we check for translation ability in both directions git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46526 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-26- If the source has no audio or no video portion, do not call powerof() torussell1-5/+20
get the format index. - Don't run through the audio and video loops if there is no audio or video portion of the source If 0 is passed to powerof, it will return -1. This value of -1 was then being used as an array index in these loops, which caused a crash on some systems. Other than this issue, this code works as we expected it to. If a format is not in the source, and we have to translation path to it, it is not offered in the list of acceptable destination formats. (fixes issue #8231) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46329 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25add passthrough and file format support for G.722 16KHz audio (issue #5084, ↵kpfleming1-2/+1
original patch by andrew, updated by mithraen) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46154 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25code zone experiment: don't offer formats in the outbound INVITE that aren't ↵kpfleming1-0/+5
either passthrough or translatable git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46153 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24if multiple translators are registered for the same source/dest combination, ↵kpfleming1-2/+20
ensure that the lowest-cost one is always inserted earlier in the list git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46152 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24ensure that the translation matrix is properly lock-protected every place it ↵kpfleming1-4/+24
is used git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46083 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24add an API call to allow channel drivers to determine which media formats ↵kpfleming1-0/+42
are compatible (passthrough or transcode) with the format an existing channel is already using git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46082 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18merge qwell's CLI verbification workkpfleming1-5/+81
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30Clarify what show translations is displaying a bit more (issue #7772 ↵file1-1/+1
reported by Mithraen) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41373 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-0/+703
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b