summaryrefslogtreecommitdiffstats
path: root/libaf
</
Commit message (Collapse)AuthorAgeFilesLines
* actually output 2 channel audio (instead of 6 channel with 4 empty channels)reimar2005-05-091-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15385 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent segfault when filter chain is empty (e.g. because allreimar2005-05-011-0/+5
| | | | | | | filters returned AF_DETACH). Fixes bugzilla bug #293. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15313 b3059339-0415-0410-9bf9-f77b7e298cf2
* Error out when invalid format is specifiedreimar2005-05-011-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15312 b3059339-0415-0410-9bf9-f77b7e298cf2
* change list traversal so the loop begins at the first filter after removinghenry2005-04-161-13/+12
| | | | | | | one, instead at the second git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15192 b3059339-0415-0410-9bf9-f77b7e298cf2
* More HRTF enhancementshenry2005-04-112-21/+56
| | | | | | | | | | | | | | | | | | | | | - a passive locking mechanism to enable the matrix to switch between active and passive mode, which enhances the stereo image. - a center front cancellation algorithm that damps the cross-talk if the sound is coming predominantly from center (e.g. if there is dialogue). These two new features should enhance the quality of surround downmix noticeably. Also a correction to the active gain control is included. The previous implementation of Lt + Rt/Lt - Rt AGC should be fine in most cases, but the calculation was inconsistent (gain unitarity is not guaranteed to be preserved). Signed off by Yue Shi Lai <ylai@users.sourceforge.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15125 b3059339-0415-0410-9bf9-f77b7e298cf2
* HRTF filter updates:henry2005-04-102-76/+316
| | | | | | | | | | | | | | | | - Bass compensation gain corrected (which was set too low), now the sound should be even more transparent - A (unified) dual axes active matrix decoder with adaptive steering - capable of decoding matrix surround encoded inputs, with stereo rear - capable of decoding matrix encoded rear center - Purely stereo mixing without unneccessary rear filter calculations - The decoding structure message is moved, because at the old place it gave incorrect messages. Patch by Yue Shi Lai <ylai@users.sourceforge.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15083 b3059339-0415-0410-9bf9-f77b7e298cf2
* obvious typorathann2005-03-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14884 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l fix. misplaced ;ivo2005-02-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14849 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally remove the refences to bps outside libaf. also simplification of ↵alex2005-02-252-7/+10
| | | | | | some messages and removed redundants git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14819 b3059339-0415-0410-9bf9-f77b7e298cf2
* better infolinealex2005-02-251-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14817 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l for me, lrintf is better. now fixed so it should be prototyped, and ↵rfelker2005-02-241-12/+23
| | | | | | should work even if there is no prototype git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14792 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally the dreaded white-noise-with-floats bug is fixed!!!!rfelker2005-02-221-16/+8
| | | | | | | | | | | | | | the problem is that lrintf was not prototyped on some systems, but it's easier and faster just not to use it at all. looks like the cola goes to our friends the glibc developers for forgetting to put lrintf in math.h in some versions. :))) i'm sure there are other broken libcs too though. also fixed a minor bug in the int->float conversion where the range for float samples was exceeded... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14759 b3059339-0415-0410-9bf9-f77b7e298cf2
* filter for adding a center channel, adding a high pass filter would be nicealex2005-02-211-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14751 b3059339-0415-0410-9bf9-f77b7e298cf2
* filter for adding a center channel, adding a high pass filter would be nicealex2005-02-213-1/+124
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14750 b3059339-0415-0410-9bf9-f77b7e298cf2
* move the format related stuff to format.calex2005-02-213-202/+210
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14749 b3059339-0415-0410-9bf9-f77b7e298cf2
* confusing mixture of typecasts and casted variable, removed typecastsreimar2005-02-171-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14718 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed forgotten old license clausehenry2005-02-051-6/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14657 b3059339-0415-0410-9bf9-f77b7e298cf2
* now supports float based operation aswellalex2005-01-311-5/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14625 b3059339-0415-0410-9bf9-f77b7e298cf2
* using af_softclipalex2005-01-311-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14624 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_softclipalex2005-01-311-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14623 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_softclipalex2005-01-311-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14622 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make this file compile with gcc-4.0.0:gpoirier2005-01-221-3/+3
| | | | | | | | It's syntacticly incorrect to use the "&" operand to take the address of a variable that is declared as "register" as a register has no address. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14570 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_format.h needs config.h to be included first.reimar2005-01-121-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14480 b3059339-0415-0410-9bf9-f77b7e298cf2
* always cancel down fractions (frac_t) to avoid overflows and playbackreimar2005-01-087-28/+59
| | | | | | | | problems (e.g. when using resample and equalizer filters together, see http://mplayerhq.hu/pipermail/mplayer-users/2004-December/050058.html) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14434 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_fmt2str fixes (remove trailing space, call with size of buffer, not size-1)reimar2005-01-061-10/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14400 b3059339-0415-0410-9bf9-f77b7e298cf2
* license issues clarifiedhenry2005-01-062-9/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14397 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, mp_msg instead af_msgalex2005-01-061-55/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14391 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_bits2fmt and af_str2fmt_short, also removed the extra FORMAT_BPS control ↵alex2005-01-034-46/+67
| | | | | | in format.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14336 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use lavcresample only when libavcodec is compiled in.reimar2005-01-031-8/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14327 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make af_control_any_rev return the matching filterreimar2005-01-012-7/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14293 b3059339-0415-0410-9bf9-f77b7e298cf2
* faster packed<->planar conversationmichael2004-12-311-6/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14284 b3059339-0415-0410-9bf9-f77b7e298cf2
* less namespace pollution #2 (prefixed globals in filter.c with af_filter_)alex2004-12-296-28/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14276 b3059339-0415-0410-9bf9-f77b7e298cf2
* less namespace pollutionalex2004-12-293-22/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14275 b3059339-0415-0410-9bf9-f77b7e298cf2
* accelerated conversionsalex2004-12-291-6/+98
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14273 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_fmt2str_shortalex2004-12-282-0/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14264 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l use right mask type when checking for input formatrtognimp2004-12-281-9/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make af_ladspa use new AF_FORMAT define that was introduced by Alex'sivo2004-12-281-1/+1
| | | | | | | mega-patch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14259 b3059339-0415-0410-9bf9-f77b7e298cf2
* ensure af_fmt2str always return a 0 terminated stringreimar2004-12-271-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14257 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing AFMT_ dependancyalex2004-12-2720-154/+126
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use lavcresample when accuracy-optimized audio filter chain is requested.reimar2004-12-261-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14244 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adds support for LADSPA (Linux Audio Developer's Simple Plugin API) plugins.ivo2004-12-234-2/+1001
| | | | | | | | | | Compilation is optional and can be controled by configure. You need to have the LADSPA SDK installed in order to have it autodetected by configure. Manual page is updated. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14218 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make filters request a supported input format instead of failing.reimar2004-12-225-20/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14214 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initialize cutoff, too. Fixes crash when AF_CONTROL_COMMAND_LINE is not set.reimar2004-12-191-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14187 b3059339-0415-0410-9bf9-f77b7e298cf2
* very old 10l, discussed a long time ago but never fixed (default should be ↵rfelker2004-11-301-1/+1
| | | | | | same vol, not -10 dB) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14069 b3059339-0415-0410-9bf9-f77b7e298cf2
* head related transfer functionhenry2004-11-204-1/+898
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13997 b3059339-0415-0410-9bf9-f77b7e298cf2
* declare check_format and check_bps static, they are used nowhere else.reimar2004-11-201-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13990 b3059339-0415-0410-9bf9-f77b7e298cf2
* libavcodec.so headers patch by (Glenn Washburn <glenniii at mail dot utexas ↵michael2004-11-031-0/+5
| | | | | | dot edu>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13860 b3059339-0415-0410-9bf9-f77b7e298cf2
* user selectable cutoff frequencymichael2004-10-211-6/+14
| | | | | | | simplify resampling factor if possible, so more then one resampler can be used, libaf will still die if there are too many like it does with the default resampler (2 with sampling rates which are relative prime are too many ...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13731 b3059339-0415-0410-9bf9-f77b7e298cf2
* sine sweep generatormichael2004-10-213-1/+98
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13722 b3059339-0415-0410-9bf9-f77b7e298cf2
* libavcodec resampling ...michael2004-10-213-1/+160
| | | | | | | libaf doesnt seem to support planar audio, so we need to convert it :( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13714 b3059339-0415-0410-9bf9-f77b7e298cf2
* The full name of the GPL is GNU General Public License.diego2004-10-1019-19/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13603 b3059339-0415-0410-9bf9-f77b7e298cf2
* make af_help conform better to the the afm/vfm/etc equivalentsalex2004-10-051-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13567 b3059339-0415-0410-9bf9-f77b7e298cf2
* make use of new defines: 24 and 32bit integer typesalex2004-10-041-1/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13553 b3059339-0415-0410-9bf9-f77b7e298cf2
* reimplementation of the pl_extrastereo and pl_volnorm pluginsalex2004-10-046-2/+474
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13551 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer -af help now lists all available audio filters.ivo2004-09-062-0/+11
| | | | | | | Updated manual page. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13270 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for 24 bit audioreimar2004-07-291-0/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12914 b3059339-0415-0410-9bf9-f77b7e298cf2
* mingw crosscompiling step 1faust32004-06-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12707 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10alex2004-06-261-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12677 b3059339-0415-0410-9bf9-f77b7e298cf2
* Send a command throught the filter chain until some item returns AF_OK. ↵alex2004-06-252-2/+19
| | | | | | Patch by Reimar Doeffinger git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12669 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lalex2004-06-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12668 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove the latest use of log10 in favor of the better af_to_dB helper ↵alex2004-06-251-2/+2
| | | | | | function, patch by Reimar Doffinger git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12642 b3059339-0415-0410-9bf9-f77b7e298cf2
* ranlib cleanup by Dan Christiansenalex2004-06-241-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12633 b3059339-0415-0410-9bf9-f77b7e298cf2
* debug printf junkhenry2004-06-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12570 b3059339-0415-0410-9bf9-f77b7e298cf2
* using bswap.h for endianness conversionreimar2004-05-181-9/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12487 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix endian conversion for (curently unused) case where in buffer != out bufferreimar2004-05-161-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12482 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for 24 bit pcm/wav filesreimar2004-05-162-3/+84
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12479 b3059339-0415-0410-9bf9-f77b7e298cf2
* more stupid craprfelker2004-05-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12387 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l - replace 6 with AF_NCHhenry2004-03-042-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12009 b3059339-0415-0410-9bf9-f77b7e298cf2
* if the user wants fast, use fast code! otherwise the user has to putrfelker2004-01-271-0/+6
| | | | | | | | af=resample=44100:0:0 in the config file, which will resample all files, not just ones that need it. libaf still sux! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11860 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor fixes by ed@catmur.co.ukalex2003-11-281-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11530 b3059339-0415-0410-9bf9-f77b7e298cf2
* many small typo and grammar fixesgabucino2003-10-041-1/+1
| | | | | | | Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable af export for systems without mmapfaust32003-09-212-15/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10909 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding filter for exporting audio data to visual effect applicationsanders2003-09-204-1/+269
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10893 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l and I imho this would win 'The Bug/Typo of the Year' awardalex2003-08-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10720 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround conflict with the MINGW32 open functionfaust32003-03-311-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9771 b3059339-0415-0410-9bf9-f77b7e298cf2
* required for i18n+-lintl (found by Nexus)arpi2003-02-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9330 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>arpi2003-02-021-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changing initial volume level to 0dB after loud intensive complaintsanders2003-01-201-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9044 b3059339-0415-0410-9bf9-f77b7e298cf2