Commit Graph

283 Commits

Author SHA1 Message Date
henry 108b3bc6a5 HRTF filter updates:
- 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
2005-04-10 08:47:16 +00:00
rathann d8cd8fd5e9 obvious typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14884 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 22:52:02 +00:00
ivo 4c3d533c7d 10l fix. misplaced ;
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14849 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 22:36:04 +00:00
alex 6dbf6b4df1 finally remove the refences to bps outside libaf. also simplification of some messages and removed redundants
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14819 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 11:11:07 +00:00
alex 104f9e8872 better infoline
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14817 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 10:43:31 +00:00
rfelker e6819bc591 100l for me, lrintf is better. now fixed so it should be prototyped, and should work even if there is no prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14792 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 16:48:18 +00:00
rfelker 66b1d8c94b finally the dreaded white-noise-with-floats bug is fixed!!!!
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
2005-02-22 02:12:58 +00:00
alex 5aa4b2505f filter for adding a center channel, adding a high pass filter would be nice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 17:14:00 +00:00
alex f139d7ead2 filter for adding a center channel, adding a high pass filter would be nice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14750 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 17:08:45 +00:00
alex f3cfe83983 move the format related stuff to format.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14749 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 16:41:15 +00:00
reimar 80ddeccff9 confusing mixture of typecasts and casted variable, removed typecasts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14718 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-17 15:35:44 +00:00
henry e1b32c8f54 removed forgotten old license clause
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14657 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-05 16:57:45 +00:00
alex bf4b07cf12 now supports float based operation aswell
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14625 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:46:01 +00:00
alex 4ec530c8a0 using af_softclip
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14624 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:43:36 +00:00
alex f63682aedc af_softclip
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14623 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:43:08 +00:00
alex c4991c3549 af_softclip
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14622 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:34:49 +00:00
gpoirier 00d05d6a2a Make this file compile with gcc-4.0.0:
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
2005-01-22 10:47:58 +00:00
reimar fa8c50d4cf af_format.h needs config.h to be included first.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14480 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-12 22:00:02 +00:00
reimar 8ee78e87ce always cancel down fractions (frac_t) to avoid overflows and playback
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
2005-01-08 21:34:06 +00:00
reimar ba2f41e733 af_fmt2str fixes (remove trailing space, call with size of buffer, not size-1)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14400 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 14:32:08 +00:00
henry 996a7d092d license issues clarified
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14397 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 13:14:30 +00:00
alex 43577ee800 100l, mp_msg instead af_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14391 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 11:40:34 +00:00
alex c7ef86b09a af_bits2fmt and af_str2fmt_short, also removed the extra FORMAT_BPS control in format.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14336 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-03 18:59:16 +00:00
reimar 8f3e5a996c Use lavcresample only when libavcodec is compiled in.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14327 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-03 14:05:38 +00:00
reimar 6119b03712 Make af_control_any_rev return the matching filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14293 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-01 18:46:56 +00:00
michael f3f2e49ee2 faster packed<->planar conversation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14284 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-31 13:14:01 +00:00
alex 77456b04d9 less namespace pollution #2 (prefixed globals in filter.c with af_filter_)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14276 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 19:50:44 +00:00
alex 47e2a4ad80 less namespace pollution
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14275 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 19:41:21 +00:00
alex 3786faae53 accelerated conversions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14273 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 19:05:29 +00:00
alex e8739c6d92 af_fmt2str_short
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14264 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 18:13:09 +00:00
rtognimp c3d77725cc 100l use right mask type when checking for input format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14262 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 02:00:23 +00:00
ivo afb5908fa7 Make af_ladspa use new AF_FORMAT define that was introduced by Alex's
mega-patch.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14259 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 01:47:40 +00:00
reimar 005478ea0c ensure af_fmt2str always return a 0 terminated string
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14257 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 19:47:33 +00:00
alex 507121f7fe removing AFMT_ dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 17:30:15 +00:00
reimar 8c7855e1b4 Use lavcresample when accuracy-optimized audio filter chain is requested.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14244 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-26 11:58:07 +00:00
ivo 3d4852d8e0 Adds support for LADSPA (Linux Audio Developer's Simple Plugin API) plugins.
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
2004-12-23 02:09:52 +00:00
reimar 5e6cd8241b Make filters request a supported input format instead of failing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14214 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-22 00:12:00 +00:00
reimar 9a6c650981 Initialize cutoff, too. Fixes crash when AF_CONTROL_COMMAND_LINE is not set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14187 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-19 16:28:34 +00:00
rfelker 81a6897343 very old 10l, discussed a long time ago but never fixed (default should be same vol, not -10 dB)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14069 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-30 19:02:29 +00:00
henry 1f478a1173 head related transfer function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13997 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-20 14:41:51 +00:00
reimar b74edb423d declare check_format and check_bps static, they are used nowhere else.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13990 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-20 10:32:52 +00:00
michael 6206f25690 libavcodec.so headers patch by (Glenn Washburn <glenniii at mail dot utexas dot edu>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13860 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-03 01:53:56 +00:00
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
arpi 630f58aa8a the -af delay=[seconds] option currently parses floating point values of
"seconds" but uses only the integral part of it. This one-line patch
fixes that problem. It should be clear enough.
Linards Ticmanis <ticmanis@coli.uni-sb.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8349 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-04 21:48:15 +00:00
rathann 3160c935c2 reversing my patch to check for -Wall support & use it if available (requested by A'rpi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8274 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-25 02:19:27 +00:00
michael ec09bf79cf check for -Wall support & use it if available patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
arpi, feel free to reverse if u dont like -Wall


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8256 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 11:01:23 +00:00
anders ad91040301 Adding support for AFMT_FLOAT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8234 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-19 00:42:00 +00:00
anders 3678657416 Printing of max volume on exit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8187 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-14 09:49:06 +00:00
anders cce460d88b 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8186 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-14 09:47:46 +00:00
anders f2de70140d Fixing segfault bug and addnig support for lrintf() in format conversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8181 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-13 09:09:50 +00:00
anders 66f4e56389 New features:
-- 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
2002-11-12 12:33:56 +00:00
anders aaf9e89fef Header file for eq
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8078 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-03 10:07:14 +00:00
anders 4d5388c569 Adding equalizer filter + some cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8074 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-03 09:51:02 +00:00
anders 36489bf66e 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8072 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-03 06:06:05 +00:00
anders 437aa67937 Adding commandline options for filters and fixing stupid bug in cfg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7999 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-31 11:06:19 +00:00
anders a72b161551 Changing the behavour of the commandline parameter -af to conform with -vop. 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
2002-10-31 08:03:51 +00:00
anders 549464a883 Adding compile problem fix from Gabucino
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7976 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-30 09:05:02 +00:00
rfelker e935c134ff enable volume filter and fix nonsense default volume (still not usable
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
2002-10-30 04:11:26 +00:00
arpi ef97f44160 made gcd() static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7895 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-24 17:34:01 +00:00
anders 4d6e54d22d Adding volume control and moving control() call parameters to a seperate file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7746 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 01:49:40 +00:00
jkeil e567bb25ae Fix for audio filters on big endian cpus. It's working now on Solaris SPARC &
x86


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7720 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-12 20:02:01 +00:00
pl 76f2518aa8 src and dest buffers may overlap
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7716 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-11 23:55:04 +00:00
anders 325df13922 Correcting counters and flags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7712 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-11 04:23:52 +00:00
anders 3e3a4733fb Adding function for calculating the delay caused by the filters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7666 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-08 10:20:36 +00:00
anders f8e93e8037 Adding functionality for adding filters during execution
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7650 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 10:46:01 +00:00
anders af069ffbda Removing annoying printf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7618 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-06 11:45:49 +00:00
anders fe053df38d Changing frequency limit for resampling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7617 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-06 11:28:03 +00:00
anders ea698923eb Adding Support for non-reentrant audio filters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7616 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-06 11:26:14 +00:00
arpi fc7020b5af 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7613 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-06 10:42:24 +00:00
arpi 18e342e06c af_calc_insize_constrained() rounding changes, works better for me this way
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7604 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-05 22:54:11 +00:00
arpi 8c465db577 optimization of the FIR macros, extending outfreq range to 2..192khz
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7603 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-05 22:53:21 +00:00
anders ba87a706bd Removing debug message, (oops)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7600 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-05 11:07:23 +00:00
anders 2455614901 Adding function for estimating required buffer length
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7599 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-05 11:02:39 +00:00
jaf c8b83d930f *** empty log message ***
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7593 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-04 19:05:42 +00:00
anders 150c05bec9 Correcting error in macro
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7592 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-03 12:44:58 +00:00
anders 94f26b18df Fixing the fix buffer overrun should work now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7591 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-03 12:43:39 +00:00
anders 7ca1ef4974 Redesign of buffer length calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7590 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-03 12:02:46 +00:00
arpi f1f0dbdba3 1l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7589 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-02 22:30:10 +00:00
arpi 3f05bdd0e0 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7588 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-02 22:13:14 +00:00
anders 5ad47aba11 Fixing potential future problem with buffer overrun
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7582 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-02 11:00:37 +00:00
anders 5c7b9ef0d4 Changing to 32 bit aritmetics for counters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7581 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-02 10:47:18 +00:00
anders 3ef4629545 Adding support for multiple audio streams and removing annoying message from resample and format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7572 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-01 12:53:30 +00:00
nexus 5cc92f1a4e FreeBSD fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7571 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-01 09:20:27 +00:00
anders 1f6c494641 Adding new audio output filter layer libaf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7569 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-01 06:45:08 +00:00