Commit Graph

91 Commits

Author SHA1 Message Date
michael de7f9318ad user selectable cutoff frequency
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
2004-10-21 21:15:21 +00:00
michael c68662a8c7 sine sweep generator
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13722 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-21 12:10:55 +00:00
michael 7981c2e20b libavcodec resampling ...
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
2004-10-21 03:32:31 +00:00
diego 320e68675a The full name of the GPL is GNU General Public License.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13603 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-10 14:20:42 +00:00
alex 1e37620fff make af_help conform better to the the afm/vfm/etc equivalents
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13567 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-05 19:36:47 +00:00
alex 756bffd08b make use of new defines: 24 and 32bit integer types
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13553 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-04 19:50:40 +00:00
alex b7d2e203d8 reimplementation of the pl_extrastereo and pl_volnorm plugins
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13551 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-04 19:11:05 +00:00
ivo bdc25d636e mplayer -af help now lists all available audio filters.
Updated manual page.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13270 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-06 22:27:08 +00:00
reimar 58ce85f796 support for 24 bit audio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12914 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-29 16:23:16 +00:00
faust3 0f3bc505c3 mingw crosscompiling step 1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12707 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-27 17:54:31 +00:00
alex e766aff755 10
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12677 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 10:05:13 +00:00
alex bbd5473353 Send a command throught the filter chain until some item returns AF_OK. Patch by Reimar Doeffinger
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12669 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 19:02:53 +00:00
alex 1d92564554 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12668 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 19:01:56 +00:00
alex d04df91cbe remove the latest use of log10 in favor of the better af_to_dB helper function, patch by Reimar Doffinger
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12642 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 15:26:59 +00:00
alex 0fc20ac930 ranlib cleanup by Dan Christiansen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12633 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-24 12:52:17 +00:00
henry 767ba93929 debug printf junk
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12570 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-11 15:16:26 +00:00
reimar 275cd9923c using bswap.h for endianness conversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12487 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-18 19:13:15 +00:00
reimar c5b739bf4a fix endian conversion for (curently unused) case where in buffer != out buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12482 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-16 16:21:33 +00:00
reimar 9a43e3adbe support for 24 bit pcm/wav files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12479 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-16 10:48:59 +00:00
rfelker 1b6f3ce516 more stupid crap
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12387 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 20:16:54 +00:00
henry d30a992d15 10l - replace 6 with AF_NCH
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12009 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-04 19:39:16 +00:00
rfelker f69f48b200 if the user wants fast, use fast code! otherwise the user has to put
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
2004-01-27 06:45:43 +00:00
alex d5108abe6a minor fixes by ed@catmur.co.uk
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11530 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-28 20:43:00 +00:00
gabucino fadce2d781 many small typo and grammar fixes
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
2003-10-04 17:29:08 +00:00
faust3 b76c0e461a disable af export for systems without mmap
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10909 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-21 12:16:16 +00:00
anders 758dcca26a Adding filter for exporting audio data to visual effect applications
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10893 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-20 13:42:26 +00:00
alex 4e291ef76c 1000l and I imho this would win 'The Bug/Typo of the Year' award
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10720 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-29 21:57:40 +00:00
faust3 8dda326737 workaround conflict with the MINGW32 open function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9771 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-31 16:55:53 +00:00
arpi 4d99e4f99a required for i18n+-lintl (found by Nexus)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9330 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-07 22:47:48 +00:00
arpi ca0263659f compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 02:42:59 +00:00
anders 1e282bf64b Changing initial volume level to 0dB after loud intensive complaints
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9044 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-20 10:46:32 +00:00
arpi 10a2ba079b export fmt2str()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8995 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 17:31:58 +00:00
arpi 8fd2c262e4 added af_format_encode() to convert sample format from libaf to mplayer (OSS)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8994 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 17:31:22 +00:00
anders c9052b1092 Adding support for more logical libaf configuration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8970 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-17 01:00:07 +00:00
mosu 23486f48a5 bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines can be safely used like functions: mydef(flag ? val1 : val2)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8958 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-15 11:16:33 +00:00
anders 8b1556ed6d Fix for endianess conversion if input to libaf is float
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8953 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-14 02:52:10 +00:00
anders a417b7b685 10l sig 11 bug reported by Fabian Franz
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8906 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 08:05:51 +00:00
anders 05c85403c4 10l bug for float conversion control + feature fix in volume control
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8869 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-10 01:45:34 +00:00
anders e1718bed19 New auto config for volume and resample and added support for float flag in configuration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8868 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-10 01:01:38 +00:00
anders 4477f1232a Adding sub-woofer filter, use this filter to add a sub channel to the audio stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8833 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-07 10:33:30 +00:00
anders 8845dd707c Speed optimizations (runs twise as fast) and bugfix (wrong cutoff frequency buffer over run noise and garbeled output when wrong input format)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8764 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 06:19:25 +00:00
arpi ff3b37804f compiler warning fix
patch by sr <seru@gmx.net> (and others too in the past)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8736 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 12:36:14 +00:00
anders b1cdf7ba57 sig 11 fix in reinit and resample + spelling error fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8712 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 03:00:44 +00:00
attila 6c9f3092ad fix compilation on solaris
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8699 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-01 15:55:49 +00:00
ranma 0a37ed2384 Port of pl_surround.c to af-layer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8679 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-31 15:14:13 +00:00
anders 2ee32fa05a Extending delay to have different delays for different channels
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8676 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-31 05:44:50 +00:00
anders ec6de0f24a 10l memory leak + bug fixes in ms to sample time conversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8675 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-31 05:42:20 +00:00
rathann 84834e9d34 Added/reordered #includes to silence warnings about "implicit declaration".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8624 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 18:51:10 +00:00
anders 6adaa78ee9 Changes includes:
- 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
2002-12-28 13:59:53 +00:00
arpi b987127e0e compiler warning fixes
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 17:56:35 +00:00