aboutsummaryrefslogtreecommitdiffstats
path: root/main/frame.c
AgeCommit message (Collapse)AuthorFilesLines
2006-12-27Merged revisions 49006 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49006 | kpfleming | 2006-12-27 16:06:56 -0600 (Wed, 27 Dec 2006) | 2 lines since these variables all have static duration, none of them need initializers (they default to zero anyway) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49008 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27Merged revisions 48987 via svnmerge from kpfleming1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48987 | kpfleming | 2006-12-27 12:29:13 -0600 (Wed, 27 Dec 2006) | 2 lines allow 'show memory' and 'show memory summary' to distinguish memory allocations that were done for caching purposes, so they don't look like memory leaks ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48989 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-25Resolve some compiler warningsrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48950 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06Staticize one, and Constify a bunch of usage strings for CLI commands.russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48303 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05Well, yes... oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48259 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05Reserving flags for coming code (currently in the "videocaps" branch) oej1-0/+4
implementing T.140 support in RTP. T.140/RFC 4351 is TDD over IP - text telephony for hearing impaired. It defines a realtime text chat, much like the old "talk" application in Unix. T.140 is character by character in real time. It's not the same as our current MESSAGE format - that is more like IM, but can be gatewayed to MESSAGE with a text "codec" if needed. More patches will follow, as soon as we've separated this code from the video capabilities functions in the videocaps branch. Code by John Martin, Aupix (disclaimer on file) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48258 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20Merged revisions 47860 via svnmerge from file1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r47860 | file | 2006-11-20 14:51:36 -0500 (Mon, 20 Nov 2006) | 10 lines Merged revisions 47859 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47859 | file | 2006-11-20 14:50:21 -0500 (Mon, 20 Nov 2006) | 2 lines Don't forget to byte swap if we are exiting the smoother feed early. (issue #8287 reported by arturs) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47861 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13fix bytesize to 5.3kb for g723 codec and add support for multimode of tc400pmogorman1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47586 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-08restore display of G.722 codeckpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47339 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02Merged revisions 47051 via svnmerge from tilghman1-5/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments" ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25Merged revisions 46154 via svnmerge from kpfleming1-3/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r46154 | kpfleming | 2006-10-24 19:26:17 -0500 (Tue, 24 Oct 2006) | 2 lines add passthrough and file format support for G.722 16KHz audio (issue #5084, original patch by andrew, updated by mithraen) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46155 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-19Extend the thread storage API such that a custom initialization function canrussell1-1/+1
be called for each thread specific object after they are allocated. Note that there was already the ability to define a custom cleanup function. Also, if the custom cleanup function is used, it *MUST* call free on the thread specific object at the end. There is no way to have this magically done that I can think of because the cleanup function registered with the pthread implementation will only call the function back with a pointer to the thread specific object, not the parent ast_threadstorage object. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45623 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28Merged revisions 43933 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43933 | file | 2006-09-28 14:05:43 -0400 (Thu, 28 Sep 2006) | 2 lines Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43934 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26Merged revisions 43674 via svnmerge from qwell1-6/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43674 | qwell | 2006-09-26 11:08:51 -0700 (Tue, 26 Sep 2006) | 4 lines Issue #8015, patch by Dan Austin. Maximum values were incorrect, which is why this is being put in 1.4 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43675 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22Merged revisions 43477 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43477 | russell | 2006-09-22 10:02:58 -0400 (Fri, 22 Sep 2006) | 3 lines Suppress a compiler warning about the use of a potentially uninitialized variable. It couldn't actually happen, though. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43478 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21Remove deprecated CLI apps from the coretilghman1-121/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43449 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19Warning be gone!file1-10/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43264 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18allow for packetization on rtp channel drivers, need to addmogorman1-21/+118
option for setting our own packetization as apposed to just doing what is asked. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43243 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18merge qwell's CLI verbification workkpfleming1-14/+145
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-04Remove old unused functionsfile1-85/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41974 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03Add the ability to specify that a frame should not be considered for cachingrussell1-2/+2
for uses in cases where you *know* that it will do no good. This patch was inspired by file for use in some work of his on mixmonitor/chanspy. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41958 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31Add new frame types for DTMFfile1-2/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41595 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29Merge team/russell/frame_cachingrussell1-60/+112
There are some situations in Asterisk where ast_frame and/or iax_frame structures are rapidly allocatted and freed (at least 50 times per second for one call). This code significantly improves the performance of ast_frame_header_new(), ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping a thread-local cache of these structures and using frames from the cache whenever possible instead of calling malloc/free every time. This commit also converts the ast_frame and iax_frame structures to use the linked list macros. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41278 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-0/+1369
- 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