1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00
Commit Graph

179 Commits

Author SHA1 Message Date
reynaldo
ca1970b25a makes several libaf functions static coz they are not used outside their 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
2006-07-09 03:59:52 +00:00
diego
1989cd3f6f remove unused variables, patch by Stefan Huehner stefan {dot} huehner {dot} org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18910 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-05 10:24:23 +00:00
reynaldo
132173bbf0 get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 23:27:37 +00:00
reynaldo
c71983202c gets ride of a few more sizeof(char)s
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18862 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 04:24:07 +00:00
corey
7fbe455e5e sinesupress --> sinesuppress rename: looks like I need to
'svn commit af_sinesupress.c' (the old file).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18613 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 00:05:50 +00:00
corey
9fb516e90a Rename sinesupress to sinesuppress, including af_sinesupress.c file rename.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18612 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 00:02:51 +00:00
corey
cf063c0e6f Fix a few minor spelling errors in comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18590 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 22:23:42 +00:00
diego
4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
reynaldo
d6081d2977 New karaoke af
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18471 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 08:46:31 +00:00
reynaldo
3a406e94d7 Get ride of the several if(identify) messy lines and rearangment of some of 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
2006-04-24 07:20:34 +00:00
michael
9b2c81e1bb very simple filter which can remove a sine at a specified frequency, usefull 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
2006-04-13 10:36:17 +00:00
corey
a6de87d626 Fix up libaf unknown-format printing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17877 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-15 21:32:10 +00:00
reynaldo
bfcb1f80f1 last print on libaf to af_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17864 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-14 16:57:16 +00:00
reynaldo
4e880d8076 added dinamically calculated gain factor at output stage to avoid clipping on sane ranges
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17813 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 21:16:59 +00:00
reimar
694f18ea46 fix memory leak when filter with given name does not exist.
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
2006-03-08 15:39:53 +00:00
reimar
6c232b95c4 We start with 0, so ch (channel number) == AF_NCH is invalid, too (not just >)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17775 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 13:00:51 +00:00
diego
8c317f72a7 Move conditional compilation out of the code and into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-31 23:24:08 +00:00
diego
89d549f984 Make clean/distclean behave uniformly in all directories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
rathann
bb3f61e4ff This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
libaf's and libmenu's Makefiles and -g from main Makefile.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17382 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-13 23:38:16 +00:00
rathann
2601de4120 massive attack: mp_msg printf format fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-12 20:04:36 +00:00
reynaldo
553e29bf7e wrong output level calculation on af_equalizer leaded to low level output even with all octaves at 0db (default), patch by Corey Hickey bugfood-ml AT -fatooh/org-
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17069 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-01 03:14:21 +00:00
diego
8e2dea5f21 Unify include paths by adding -I.. to CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16983 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-13 18:28:44 +00:00
joey
8572f14094 Adds a target parameter to the volnorm filter.
This is useful to avoid clipping when processing data,
  but less important when watching a clip live.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16972 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-11 02:47:21 +00:00
ptt
6e1d740c4a MSGTR_MemAllocFailed printout changed to fit its definition in help/help_mp-en.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16905 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 00:45:56 +00:00
reimar
d475a9523f semi-hack: avoid passing 0-length blocks to audio filters.
Fixes bugzilla bug #391 (lavcresample crashes).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16816 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-20 09:12:28 +00:00
reimar
81827eb239 much simpler signed/unsigned conversion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16665 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-04 21:49:56 +00:00
reimar
01ced1e49e documentation-only patch: make doxygen compatible and create
af_chain and af_filter doxygen modules.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16628 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-01 12:55:34 +00:00
reimar
e3d0df70fe Fix af_pan commandline mess and (hopefully) improve description.
It should now output the right number of channels and it doesn't silently
clamp values to the too restrictive [0, 1] range.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16494 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-15 11:41:23 +00:00
alex
e54b5d16df code reduction and less error prone, use the same table
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16260 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-18 11:37:16 +00:00
ivo
812ee3753e Removed in-filter int to float conversion. af_ladspa now demands floats as
that's what LADSPA filters use internally too. conversion from int, if needed,
is done by af_format as it's supposed to.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16196 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-10 23:27:39 +00:00
reimar
19760a4dca libavutil compile fix (working also with old libavcodec)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16169 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 22:09:17 +00:00
gpoirier
e5b52ff472 10l to beastd due to new libavutil introduction
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16168 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 21:16:43 +00:00
alex
221a599f2a added missing license header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16116 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-27 11:09:42 +00:00
reimar
2066463ec5 Avoid hang with -af-adv force=3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16073 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-23 16:58:25 +00:00
reimar
d22ae4a4d9 make -srate work again, unify audio filter init and preinit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15812 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-24 10:50:53 +00:00
diego
8475733dc2 Fix mp_msg vs af_msg usage as pointed out by Ivo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15792 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-21 01:00:35 +00:00
ivo
6a166ddf6a 10l for me. two usages of mp_msg instead of af_msg slipped through
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15791 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:50:42 +00:00
gpoirier
9dd8f241ac adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:07:35 +00:00
ranma
2098665b8d Be more patch-friendly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15773 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 22:52:55 +00:00
henry
c9e396b898 - correct the argument in configure check for lrintf() to avoid a warning
- add -D_GNU_SOURCE where lrintf() is used, for the cases when -std=gnu99
  isn't available


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15597 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-30 08:57:30 +00:00
alex
f515356aa3 sanity checks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15539 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-21 15:05:31 +00:00
reimar
313cc2c955 actually output 2 channel audio (instead of 6 channel with 4 empty channels)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15385 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-09 19:46:49 +00:00
reimar
e331e6b94f Prevent segfault when filter chain is empty (e.g. because all
filters returned AF_DETACH). Fixes bugzilla bug #293.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15313 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 09:23:31 +00:00
reimar
b7f3811b29 Error out when invalid format is specified
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15312 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 09:02:25 +00:00
henry
4ad21b2d7e change list traversal so the loop begins at the first filter after removing
one, instead at the second


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15192 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 16:48:15 +00:00
henry
1fd3c733d8 More HRTF enhancements
- 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
2005-04-11 14:01:29 +00:00
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