summaryrefslogtreecommitdiffstats
path: root/libaf/af_hrtf.c
Commit message (Collapse)AuthorAgeFilesLines
* libaf: change filter input/output ratio calculationsuau2007-11-011-5/+3
| | | | | | | | | | Change the audio filters to use a double instead of rationals for the ratio of output to input size. The rationals could overflow when calculating the overall ratio of a filter chain and gave no real advantage compared to doubles. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24916 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary unistd.h include.diego2007-03-201-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22766 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename open to af_open so as not to conflict with a previous header definition.diego2007-03-201-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22764 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory leaks.uau2007-02-101-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22197 b3059339-0415-0410-9bf9-f77b7e298cf2
* makes several libaf functions static coz they are not used outside their ↵reynaldo2006-07-091-4/+4
| | | | | | 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
* 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
* More HRTF enhancementshenry2005-04-111-21/+51
| | | | | | | | | | | | | | | | | | | | | - 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-101-75/+305
| | | | | | | | | | | | | | | | - 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
* license issues clarifiedhenry2005-01-061-9/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14397 b3059339-0415-0410-9bf9-f77b7e298cf2
* less namespace pollution #2 (prefixed globals in filter.c with af_filter_)alex2004-12-291-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14276 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing AFMT_ dependancyalex2004-12-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make filters request a supported input format instead of failing.reimar2004-12-221-5/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14214 b3059339-0415-0410-9bf9-f77b7e298cf2
* head related transfer functionhenry2004-11-201-0/+416
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13997 b3059339-0415-0410-9bf9-f77b7e298cf2