summaryrefslogtreecommitdiffstats
path: root/libaf/af.c
Commit message (Collapse)AuthorAgeFilesLines
* Change value used to indicate "unknown audio format" from 0 to -1.uau2006-11-081-2/+4
| | | | | | | 0 collided with a valid format value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20787 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix stupid use of multiplication to check signs which fails because of uau2006-09-181-5/+1
| | | | | | | | overflow. Negative values do not seem to be used so just remove the failing test. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19889 b3059339-0415-0410-9bf9-f77b7e298cf2
* makes several libaf functions static coz they are not used outside their ↵reynaldo2006-07-091-5/+5
| | | | | | source files. Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18972 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename sinesupress to sinesuppress, including af_sinesupress.c file rename.corey2006-06-071-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18612 b3059339-0415-0410-9bf9-f77b7e298cf2
* New karaoke afreynaldo2006-05-131-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18471 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵reynaldo2006-04-241-2/+0
| | | | | | the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
* very simple filter which can remove a sine at a specified frequency, usefull ↵michael2006-04-131-0/+2
| | | | | | | | | to get rid of the 50/60hz noise on ultra crappy equipment probably works only with 1 channel input git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18083 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix memory leak when filter with given name does not exist.reimar2006-03-081-4/+4
| | | | | | | Also prints which filter failed in the malloc-failed case git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17781 b3059339-0415-0410-9bf9-f77b7e298cf2
* semi-hack: avoid passing 0-length blocks to audio filters.reimar2005-10-201-0/+1
| | | | | | | Fixes bugzilla bug #391 (lavcresample crashes). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16816 b3059339-0415-0410-9bf9-f77b7e298cf2
* documentation-only patch: make doxygen compatible and createreimar2005-10-011-6/+10
| | | | | | | af_chain and af_filter doxygen modules. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16628 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid hang with -af-adv force=3reimar2005-07-231-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16073 b3059339-0415-0410-9bf9-f77b7e298cf2
* make -srate work again, unify audio filter init and preinit.reimar2005-06-241-15/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15812 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mp_msg vs af_msg usage as pointed out by Ivo.diego2005-06-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15792 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM ↵gpoirier2005-06-201-0/+2
| | | | | | en DASH directo POUM net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 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
* 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
* finally remove the refences to bps outside libaf. also simplification of ↵alex2005-02-251-5/+6
| | | | | | some messages and removed redundants git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14819 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
* 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
* always cancel down fractions (frac_t) to avoid overflows and playbackreimar2005-01-081-6/+46
| | | | | | | | 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_bits2fmt and af_str2fmt_short, also removed the extra FORMAT_BPS control ↵alex2005-01-031-4/+4
| | | | | | 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-011-5/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14293 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-231-0/+4
| | | | | | | | | | 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
* head related transfer functionhenry2004-11-201-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13997 b3059339-0415-0410-9bf9-f77b7e298cf2
* sine sweep generatormichael2004-10-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13722 b3059339-0415-0410-9bf9-f77b7e298cf2
* libavcodec resampling ...michael2004-10-211-0/+4
| | | | | | | 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
* 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
* reimplementation of the pl_extrastereo and pl_volnorm pluginsalex2004-10-041-0/+4
| | | | 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-061-0/+8
| | | | | | | Updated manual page. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13270 b3059339-0415-0410-9bf9-f77b7e298cf2
* Send a command throught the filter chain until some item returns AF_OK. ↵alex2004-06-251-2/+14
| | | | | | Patch by Reimar Doeffinger git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12669 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
* disable af export for systems without mmapfaust32003-09-211-15/+18
| | | | 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-201-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10893 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding support for more logical libaf configurationanders2003-01-171-3/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8970 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding sub-woofer filter, use this filter to add a sub channel to the audio ↵anders2003-01-071-0/+2
| | | | | | stream git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8833 b3059339-0415-0410-9bf9-f77b7e298cf2
* sig 11 fix in reinit and resample + spelling error fixesanders2003-01-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8712 b3059339-0415-0410-9bf9-f77b7e298cf2
* Port of pl_surround.c to af-layer.ranma2002-12-311-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8679 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changes includes:anders2002-12-281-15/+45
| | | | | | | | | | | | | | | | | - Improved runtime control system - 3 New filter panning, compressor/limiter and a noise gate - The compressor/limiter and the noise gate are not yet finished - The panning filter does combined mixing and channel routing and can be used to down-mix from stereo to mono (for example) - Improvements to volume and channel - volume now has a very good soft clipping using sin() - channel can handle generic routing of audio data - Conversion of all filters to handle floating point data - Cleanup of message printing - Fix for the sig 11 bug reported by Denes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8608 b3059339-0415-0410-9bf9-f77b7e298cf2
* New features:anders2002-11-121-60/+64
| | | | | | | | | | | | | | | | -- Support for runtime cpu detection -- Stand alone compile of libaf -- Unlimited number of channels (compiletime switch) -- Sample format defined by bit-fields -- New formats: float, A-Law and mu-law -- Format conversion set in human readable format i.e. format=4:us_be to set 32 bit unsigned big endian output -- Format reporting in human readable format -- Volume control has only one parameter for setting the volume i.e. volume=-10.0:1:0:1 to set atenuation = -10dB git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8168 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding equalizer filter + some cosmeticsanders2002-11-031-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8074 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding commandline options for filters and fixing stupid bug in cfganders2002-10-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7999 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changing the behavour of the commandline parameter -af to conform with -vop. ↵anders2002-10-311-6/+21
| | | | | | Adding new commanline parameter -af-adv for advanced af options. Adding changes to volume control to support commandline parameters. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7994 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable volume filter and fix nonsense default volume (still not usablerfelker2002-10-301-0/+2
| | | | | | | because mixer.c has no mechanism to pass volume commands to libaf) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7975 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding volume control and moving control() call parameters to a seperate fileanders2002-10-161-10/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7746 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding function for calculating the delay caused by the filtersanders2002-10-081-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7666 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding functionality for adding filters during executionanders2002-10-071-4/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7650 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removing annoying printfanders2002-10-061-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding Support for non-reentrant audio filtersanders2002-10-061-19/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7616 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10larpi2002-10-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7613 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_calc_insize_constrained() rounding changes, works better for me this wayarpi2002-10-051-13/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7604 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removing debug message, (oops)anders2002-10-051-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7600 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding function for estimating required buffer lengthanders2002-10-051-0/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7599 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixing the fix buffer overrun should work nowanders2002-10-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7591 b3059339-0415-0410-9bf9-f77b7e298cf2
* Redesign of buffer length calculationanders2002-10-031-14/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7590 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixing potential future problem with buffer overrunanders2002-10-021-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7582 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding support for multiple audio streams and removing annoying message from ↵anders2002-10-011-99/+83
| | | | | | resample and format git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7572 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding new audio output filter layer libafanders2002-10-011-0/+440
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7569 b3059339-0415-0410-9bf9-f77b7e298cf2