aboutsummaryrefslogtreecommitdiffhomepage
path: root/libaf/af.h
Commit message (Collapse)AuthorAge
* #include config.h before all other headers.Gravatar diego2008-03-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.Gravatar diego2008-02-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace multiple inclusion guards with leading underscores by default names.Gravatar diego2008-01-01
| | | | | | | Leading underscores are reserved for system identifiers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25579 b3059339-0415-0410-9bf9-f77b7e298cf2
* A/V sync: take audio filter buffers into accountGravatar uau2007-11-01
| | | | | | | | | | | | | | | | | | Substract the delay caused by filter buffering when calculating currently playing audio position. This matters for af_scaletempo which buffers significant and varying amounts of data. For other current filters the effect is normally insignificant. Instead of the old time-based filter delay field (which was ignored) this version stores the per-filter delay in units of bytes input read without corresponding output. This allows the current scaletempo behavior where other filters before and after it can see the same nominal samplerate even though the real duration of the data varies; in this case the other filters can not know the delay they're causing in terms of real time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24928 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change decode_audio() interfaceGravatar uau2007-11-01
| | | | | | | | | | | | Rewrite decode_audio to better deal with filters that handle input in large blocks. It now always places output in sh_audio->a_out_buffer (which was always given as a parameter before) and reallocates the buffer if needed. After the changes filters can return arbitrarily large blocks of data without some of it being lost. The new version also allows simplifying some code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24920 b3059339-0415-0410-9bf9-f77b7e298cf2
* libaf: Remove rational number implementationGravatar uau2007-11-01
| | | | | | | | Remove the mul/cancel/gcd functions and some related code. Use ff_gcd instead of the removed af_gcd in af_resample.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24917 b3059339-0415-0410-9bf9-f77b7e298cf2
* libaf: change filter input/output ratio calculationsGravatar uau2007-11-01
| | | | | | | | | | 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 unused functions in af.cGravatar uau2007-11-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24915 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove config.h and move its content to af.h. There are multiple files underGravatar diego2006-11-25
| | | | | | | the name config.h, inviting bugs and confusion. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use the real name of the header file when guarding against double inclusion.Gravatar diego2006-11-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21248 b3059339-0415-0410-9bf9-f77b7e298cf2
* documentation-only patch: make doxygen compatible and createGravatar reimar2005-10-01
| | | | | | | af_chain and af_filter doxygen modules. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16628 b3059339-0415-0410-9bf9-f77b7e298cf2
* make -srate work again, unify audio filter init and preinit.Gravatar reimar2005-06-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15812 b3059339-0415-0410-9bf9-f77b7e298cf2
* obvious typoGravatar rathann2005-03-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14884 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally remove the refences to bps outside libaf. also simplification of ↵Gravatar alex2005-02-25
| | | | | | some messages and removed redundants git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14819 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_softclipGravatar alex2005-01-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14623 b3059339-0415-0410-9bf9-f77b7e298cf2
* always cancel down fractions (frac_t) to avoid overflows and playbackGravatar reimar2005-01-08
| | | | | | | | 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
* Make af_control_any_rev return the matching filterGravatar reimar2005-01-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14293 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer -af help now lists all available audio filters.Gravatar ivo2004-09-06
| | | | | | | Updated manual page. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13270 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10Gravatar alex2004-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12677 b3059339-0415-0410-9bf9-f77b7e298cf2
* Send a command throught the filter chain until some item returns AF_OK. ↵Gravatar alex2004-06-25
| | | | | | Patch by Reimar Doeffinger git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12669 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding support for more logical libaf configurationGravatar anders2003-01-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8970 b3059339-0415-0410-9bf9-f77b7e298cf2
* bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines ↵Gravatar mosu2003-01-15
| | | | | | 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
* 10l bug for float conversion control + feature fix in volume controlGravatar anders2003-01-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8869 b3059339-0415-0410-9bf9-f77b7e298cf2
* New auto config for volume and resample and added support for float flag in ↵Gravatar anders2003-01-10
| | | | | | configuration git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8868 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l memory leak + bug fixes in ms to sample time conversionGravatar anders2002-12-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changes includes:Gravatar anders2002-12-28
| | | | | | | | | | | | | | | | | - 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
* Fixing segfault bug and addnig support for lrintf() in format conversionGravatar anders2002-11-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8181 b3059339-0415-0410-9bf9-f77b7e298cf2
* New features:Gravatar anders2002-11-12
| | | | | | | | | | | | | | | | -- 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 cosmeticsGravatar anders2002-11-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8074 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding volume control and moving control() call parameters to a seperate fileGravatar anders2002-10-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7746 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding function for calculating the delay caused by the filtersGravatar anders2002-10-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7666 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding functionality for adding filters during executionGravatar anders2002-10-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7650 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding Support for non-reentrant audio filtersGravatar anders2002-10-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7616 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding function for estimating required buffer lengthGravatar anders2002-10-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7599 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correcting error in macroGravatar anders2002-10-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7592 b3059339-0415-0410-9bf9-f77b7e298cf2
* Redesign of buffer length calculationGravatar anders2002-10-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7590 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding support for multiple audio streams and removing annoying message from ↵Gravatar anders2002-10-01
| | | | | | resample and format git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7572 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding new audio output filter layer libafGravatar anders2002-10-01
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7569 b3059339-0415-0410-9bf9-f77b7e298cf2