aboutsummaryrefslogtreecommitdiffstats
path: root/formats
AgeCommit message (Collapse)AuthorFilesLines
2009-12-09Set a module load priority for format modules.russell14-14/+56
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
2009-04-08Fix a few typos of the word "frequency."mmichelson2-2/+2
(closes issue #14842) Reported by: jvandal Patches: frequency-typo.diff uploaded by jvandal (license 413) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@186841 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-15format_ilbc does not depend on codec libraries and can therefore always be ↵oej1-4/+0
made. My mistake. Ursäkta! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@175825 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-15Disable format_ilbc.so by default, like codec_ilbc.sooej1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@175792 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-01fix a bunch of potential problems found by gcc 4.3.x, primarily bare strings ↵kpfleming4-8/+23
being passed to printf()-like functions and ignored results from read()/write() and friends git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@153337 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-22Use the advertised header size in .au files instead of just assuming theyseanbright1-3/+4
are 24 bytes (the minimum). (closes issue #13450) Reported by: jamessan Patches: pcm-header.diff uploaded by jamessan (license 246) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@143903 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-22I thought I was going to be able to leave 1.4 alone, but that was not the case.russell1-7/+17
I ran into some problems with G.722 in 1.4, so I have merged in all of the fixes in this area that I have made in trunk/1.6.0, and things are happy again. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114550 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-28The file size of WAV49 does not need to be an even number.qwell1-12/+2
(closes issue #12128) Reported by: mdu113 Patches: 12128-noevenlength.diff uploaded by qwell (license 4) Tested by: qwell, mdu113 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@111658 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17fix some copy-and-paste leftoverskpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@93183 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,kpfleming1-2/+8
rizzo brought up some issues related to the way that the metadata required for menuselect and the rest of the build system is extracted from the source files. Since I had a few hours to kill on an airplane today, I decided to improve this situation... so now the system caches the extracted metadata and uses it to build the menuselect 'tree' as much as it can. The result of this is that when a single source file is changed, only the metadata for that file needs to be extracted again, and the rest is used from the cache files. I also reduced the number of forked processes required to do the metadata extraction; it was actually possible to do most of what we needed in the Makefiles themselves without using any shell scripts at all! On my laptop, these changes resulted in an 80% decrease in the time required for the 'menuselect.makeopts' automatic check to occur after editing a single source file. While doing this work I also cleaned up a few minor things in the Makefiles, adding a check for 'awk' to the configure script and changed all remaining places we use 'grep' or 'awk' to use the ones found by the configure script, and changed the 'prep_tarball' script to build the menuselect metadata so that tarballs of Asterisk will include it and won't require the user to wait while it is extracted after unpacking. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@93180 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-29Use of "private" as a field name in a header file messes with C++ projectstilghman7-20/+20
Reported by: chewbacca Patch by: casper (Closes issue #11401) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@90155 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29give format_pcm a more concise destriptionrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72705 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-05modified default GAIN for issue 5823, thanks jrwallikerdhubbard1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60325 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30Issue #8246 - Doxygen fixes from kshumard. oej1-4/+5
An extra big thankyou is given to everyone that contributes to doxygen! THANK YOU! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46433 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25add passthrough and file format support for G.722 16KHz audio (issue #5084, ↵kpfleming1-5/+21
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-09-25This tiny fix prevents asterisk from crashing if trying to play an OGG moh file.murf1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43605 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18u_intXX_t is sillyqwell2-13/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43236 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26GNU make already knows how to quietly ignore non-existent files in 'include' ↵kpfleming1-4/+1
directives git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41209 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):kpfleming15-208/+54
- 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-07-19Fix a few doxygen warnings.north1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38009 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-17H.263 frames can apparently be larger than was originally coded.tilghman1-1/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37785 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-17Merged revisions 37765 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r37765 | tilghman | 2006-07-17 10:52:15 -0500 (Mon, 17 Jul 2006) | 2 lines Overflow bad ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37766 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15more Makefile cleanup and consistency stuffkpfleming1-1/+4
don't reuse LIBS variable from top-level Makefile (oops) build Asterisk binary after subdirs (preparing for embedded modules) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37661 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07pointer signedness warningsrussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37300 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06move rules file to prepare for generic rules filekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05update dependency information to match new names for dependencieskpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37085 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-25use new (separate) dependencies file from menuselectkpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24The Eurostar Commit! (it's amazing how much work you can get done on a 150 ↵kpfleming2-38/+3
minute train ride from Paris to London <G>) support the new location for zaptel.h and tonezone.h use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries combine the common rules into a top-level Makefile.rules file remove all (now) unnecessary stuff from subdir Makefiles change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory) alphabetize --with-<foo> options in configure script enhance Net-SNMP support in configure script to provide a --with-netsnmp option fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated add 'optional package' usage to modules now that menuselect can output it allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- convert the 'uninstall' target to use separate targets to process eachrussell1-1/+1
subdirectory instead of a for loop - remove the FORCE target from the main Makefile and add the couple places I used it to the .PHONY target. .PHONY does the same thing and is a built-in more efficient way of doing it. - add a bunch more targets to .PHONY ... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- specify that 'depend' is a .PHONY targetrussell1-1/+1
- use separate targets instead of a for loop for doing 'make depend' for each sub directory git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- specify that 'all' is a .PHONY targetrussell1-1/+1
- add a copyright header to the build_tools Makefile - remove 'depend' from the 'all' target in agi/ and utils/ since it is handled by the main Makefile already git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targetsrussell1-0/+2
since they are targets that do not have resulting files and are never listed as prerequisites to real targets. Using .PHONY in this manner improves make performance by never having to check for resulting files. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-20Bug 7372: Wrong size for the block alignment (should have been 4 bytes;tilghman1-1/+1
writing 4 from a 2-byte integer caused extra (wrong) bytes set in the header) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35184 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19don't blow up in the sub Makefiles if menuselect.makeopts is not present. Thisrussell1-1/+3
is valid in some cases, such as "make clean". git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34738 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16remove "depend" from the "all" targets in sub Makefiles. The main Makefilerussell1-1/+1
already calls "make depend" for each of the subdirectories git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34497 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-08Update doxygen for video formatsoej2-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32992 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming14-56/+56
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07remove the need to have to re-run make after a default menuselect.makeoptsrussell1-0/+2
file is generated. This allows a fresh checkout of asterisk to be built and installed with the standard "./configure && make && make install". git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32798 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05use module names, not file names, in menuselectkpfleming1-1/+3
work around XML parsing bug in menuselect for default sounds package git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵kpfleming2-22/+12
autoconf and menuselect tools for Asterisk! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18fix obvious breakagekpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21239 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo14-174/+101
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-13Fix format for big endian systemstilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19890 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13Bug 6896 - Fix for garbled wav49 formattilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19814 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13Typo fixtilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19810 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13Document the MSGSM format, and fix the uncalculated number of samplestilghman1-27/+68
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19673 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-09rename FR_SET_BUF to AST_FRAME_SET_BUFFERrizzo13-13/+13
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 ↵kpfleming14-28/+28
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-07Merged revisions 18436 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r18436 | tilghman | 2006-04-07 17:07:38 -0500 (Fri, 07 Apr 2006) | 2 lines Bug 6913 - fix for possible buffer overflow ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18437 f38db490-d61c-443f-a65b-d21fe96a405b