aboutsummaryrefslogtreecommitdiffstats
path: root/frame.c
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-1369/+0
- 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
2006-08-16Fix formatting of "show codecs" CLI command.qwell1-5/+5
Make "show translations" CLI command have dynamic widths. Also display g726 codec in both commands. There are probably other places where "11" is hardcoded... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39965 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-31Merged revisions 38546-38547 via svnmerge from russell1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r38546 | russell | 2006-07-31 00:04:02 -0400 (Mon, 31 Jul 2006) | 2 lines Make the frame counting done with TRACE_FRAMES defined thread-safe ........ r38547 | russell | 2006-07-31 00:06:16 -0400 (Mon, 31 Jul 2006) | 2 lines one more small tweak for thread-safety of TRACE_FRAMES ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-28move slinfactory structure definition back to header... it's just easier to ↵kpfleming1-1/+1
use this way add infrastructure for whispering onto a channel git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-18Merged revisions 37856 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r37856 | russell | 2006-07-17 20:41:47 -0400 (Mon, 17 Jul 2006) | 2 lines don't crash if the frame has no data, but has a src ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37857 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-17if asked to duplicate a frame that has no data, don't set the frame's datarussell1-7/+6
pointer past the end of the buffer allocated for the new frame git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37830 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12G726-32 changes:kpfleming1-2/+5
split support for G726-32 into RFC3551 and AAL2 packing orders, since both are in use change "G726-32" to be RFC3551 packing order, in spite of devices that use AAL2 order with this MIME type add ability to directly transcode between packing orders git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37494 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06Include h.264 in "show codecs"oej1-20/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37123 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13Allow AST_FRAME_MODEM frames to be dumped, and document T.38 passthrough supportfile1-0/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33912 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-08handle out-of-memory conditions in ast_frisolate() properly (reported by ↵kpfleming1-3/+11
Slav Kenov on asterisk-dev) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33037 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-4/+4
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of testsoej1-2/+8
and some patches (all disclaimed). - Don't change RTP properties if we reject a re-INVITE - Don't add video to an outbound channel if there's no video on the inbound channel - Don't include video in the "preferred codec" list for codec selection - Clean up and document code that parses and adds SDP attachments Since we do not transcode video, we can't handle video the same way as audio. This is a bug fix patch. In future releases, we need to work on a solution for video negotiation, not codecs but formats and framerates instead. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32597 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-01Formatting fixesoej1-20/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31497 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-01Doxygen reformattingoej1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31496 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31Add support for using a jitterbuffer for RTP on bridged calls. This includesrussell1-0/+13
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-05-06fix a problem where the frame's data pointer is overwritten by the newlyrussell1-8/+12
allocated data buffer before the data can be copied from it. This is in the ast_frisolate() function which is rarely used. (issue #6732, stefankroon) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25164 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-21converstions to allocation wrappers, use calloc instead of malloc+memset,russell1-66/+54
and various other changes to conform with current coding guidelines (issue #6518) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10661 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01use string fields for some stuff in ast_channelkpfleming1-19/+21
const-ify some more APIs remove 'type' field from ast_channel, in favor of the one in the channel's tech structure allow string field module users to specify the 'chunk size' for pool allocations update chan_alsa to be compatible with recent const-ification patches git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31define a global null_frame object so when queueing a null frame, you don'trussell1-8/+8
have to allocate one on the stack git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Add support for H.264 with SIP and recordingmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 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-12-20Major RTP fixes for using inbound SDP on outbound connection, get rid of markster1-0/+25
old local rtp stuff... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7551 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04convert most of the option_*'s to a single ast_flags structure. Also, fix somerussell1-1/+1
formatting, remove some unnecessary casts, and other little code cleanups. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-03Bug 5858 - Make the chanvars.c functions return a 'const char *'tilghman1-2/+2
This should prevent us from unintentionally changing variable values when they're returned from pbx_builtin_getvar_helper. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7304 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-41/+43
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31don't pass short arguments by value, it will cause compiler warnings on most ↵kpfleming1-3/+7
platforms about implicit conversions (thanks Luigi!) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6901 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28add API call to properly sum two frames of SLINEAR datakpfleming1-0/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6883 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28ensure that SLINEAR volume adjustments don't wrap around short integer maximumskpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6882 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28add API function to perform volume adjustment on a frame of SLINEAR datakpfleming1-0/+19
documentation cleanup git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6874 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-29code cleanupskpfleming1-25/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6696 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-08-22support new format for musiconhold.conf (issue #4908)kpfleming1-1/+32
support non-SLINEAR moh streams (issue #4908) add external app to feed TCP stream into Asterisk for moh (issue #4908) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6353 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-10/+4
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-12support DTX and CNG in speex (bug #4608)kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6113 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10more ast_copy_string conversionsrussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6073 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-1/+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-05-19add 'dontwarn' option to asterisk.conf to appease the whining masses :p (bug ↵russell1-1/+1
#4320) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5723 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15minor cleanups (bug #4158)kpfleming1-3/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5674 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15add functions to register/unregister multiple CLI commands in a single ↵kpfleming1-22/+12
operation (bug #4255, with minor mods) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5662 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14Add remainder of rtp fixes, iax2 patch (bug #3961)markster1-0/+192
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5654 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22phase 1 of header include cleanup (bug #4067)kpfleming1-5/+6
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-8/+8
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04fix breakage from slin endianness commit earlier today (sorry :-()kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5375 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-03handle AST_FORMAT_SLINEAR endianness properly on big-endian systems (bug #3865)kpfleming1-2/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5373 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-21Add README for jitter buffer (bug #3812), make src char *src a constmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5223 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-05Merge H.263+ support (bug #3709)markster1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5149 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-28Fix queue URL passing (bug #3543)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5104 f38db490-d61c-443f-a65b-d21fe96a405b