aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_g723.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-09Set a module load priority for format modules.russell1-1/+4
A recent change to app_voicemail made it such that the module now assumes that all format modules are available while processing voicemail configuration. However, when autoloading modules, it was possible that app_voicemail was loaded before the format modules. Since format modules don't depend on anything, set a module load priority on them to ensure that they get loaded first when autoloading. This version of the patch is specific to Asterisk 1.4 and 1.6.0. These versions did not already support module load priority in the module API. This adds a trivial version of this which is just a module flag to include it in a pass before loading "everything". Thanks to mmichelson for the review! (closes issue #16412) Reported by: jiddings Tested by: russell Review: https://reviewboard.asterisk.org/r/445/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@233782 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18u_intXX_t is sillyqwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43236 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21swap module macro arguments to proper orderkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40761 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-14/+3
- 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-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-04-14This rather large commit changes the way modules are loaded. rizzo1-12/+7
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-09rename FR_SET_BUF to AST_FRAME_SET_BUFFERrizzo1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18639 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08since the module API is changing, it's a good time to const-ify the ↵kpfleming1-2/+2
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04Largely simplify format handlers (for file copy etc.)rizzo1-128/+32
collecting common functions in a single place and removing them from the individual handlers. The full description is on mantis, http://bugs.digium.com/view.php?id=6375 and only the ogg_vorbis handler needs to be converted to the new structure. As a result of this change, format_au.c and format_pcm_alaw.c should go away (in a separate commit) as their functionality (trivial) has been merged in another file. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17243 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-20Bug 5984 - Convert file offsets to 64 bittilghman1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10579 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11don't try to include non-existing (and unneeded) header filekpfleming1-3/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9586 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-06issue #5605russell1-2/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26more doxygenification (issue #5513)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6852 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16Use FILE * instead of fd for files to support bufferingmarkster1-13/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6801 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-6/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-23don't take locks when reading usecounts, they are not necessary (bug #4585)kpfleming1-8/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5983 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07header ordering fixes for FreeBSD (pending a global merge into asterisk.h) ↵kpfleming1-1/+2
(bug #4484) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5876 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-6/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-6/+6
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-18Fix compiler warnings (bug #3367)markster1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4832 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-29Mildly resurect G.723.1 file formatmarkster1-157/+48
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4583 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-13Updates from char * to const char * + german syntax + enumeration (bug #2780)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4229 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-02-25Bug #1087. Fix wav49 format so it can be played. Make file functionscitats1-1/+1
looking for extension use f->exts instead of f->name. Fix bug where error message didn't print file extension. Fix comments in header file. Everything is completely backwards compatible git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2247 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-13Totally revamp thread debugging to support locating and removing deadlocksmarkster1-11/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1310 f38db490-d61c-443f-a65b-d21fe96a405b
2003-06-28Totally redo file formatsmarkster1-8/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1130 f38db490-d61c-443f-a65b-d21fe96a405b
2003-02-06Version 0.3.0 from FTPmarkster1-2/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@608 f38db490-d61c-443f-a65b-d21fe96a405b
2002-07-11Version 0.2.0 from FTPmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@483 f38db490-d61c-443f-a65b-d21fe96a405b
2002-05-13Version 0.1.12 from FTPmarkster1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@446 f38db490-d61c-443f-a65b-d21fe96a405b
2001-04-03Version 0.1.8 from FTPmarkster1-10/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@263 f38db490-d61c-443f-a65b-d21fe96a405b
2001-03-07Version 0.1.7 from FTPmarkster1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@235 f38db490-d61c-443f-a65b-d21fe96a405b
2000-07-24Version 0.1.4 from FTPmarkster1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@214 f38db490-d61c-443f-a65b-d21fe96a405b
2000-01-10Version 0.1.3 from FTPmarkster1-4/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@203 f38db490-d61c-443f-a65b-d21fe96a405b
1999-12-16Version 0.1.1 from FTPmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@139 f38db490-d61c-443f-a65b-d21fe96a405b
1999-12-05Version 0.1.0 from FTPmarkster1-0/+342
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86 f38db490-d61c-443f-a65b-d21fe96a405b