summaryrefslogtreecommitdiffstats
path: root/libaf/af_volume.c
Commit message (Collapse)AuthorAgeFilesLines
* libaf: change filter input/output ratio calculationsuau2007-11-011-2/+1
| | | | | | | | | | 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
* using af_softclipalex2005-01-311-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14624 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing AFMT_ dependancyalex2004-12-271-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
* very old 10l, discussed a long time ago but never fixed (default should be ↵rfelker2004-11-301-1/+1
| | | | | | same vol, not -10 dB) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14069 b3059339-0415-0410-9bf9-f77b7e298cf2
* The full name of the GPL is GNU General Public License.diego2004-10-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13603 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove the latest use of log10 in favor of the better af_to_dB helper ↵alex2004-06-251-2/+2
| | | | | | function, patch by Reimar Doffinger git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12642 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changing initial volume level to 0dB after loud intensive complaintsanders2003-01-201-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9044 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l bug for float conversion control + feature fix in volume controlanders2003-01-101-5/+8
| | | | 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 ↵anders2003-01-101-2/+3
| | | | | | configuration git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8868 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added/reordered #includes to silence warnings about "implicit declaration".rathann2002-12-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changes includes:anders2002-12-281-142/+124
| | | | | | | | | | | | | | | | | - 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
* Printing of max volume on exitanders2002-11-141-1/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8187 b3059339-0415-0410-9bf9-f77b7e298cf2
* New features:anders2002-11-121-36/+39
| | | | | | | | | | | | | | | | -- 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
* Changing the behavour of the commandline parameter -af to conform with -vop. ↵anders2002-10-311-12/+22
| | | | | | 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
* enable volume filter and fix nonsense default volume (still not usablerfelker2002-10-301-1/+1
| | | | | | | 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
* Adding volume control and moving control() call parameters to a seperate fileanders2002-10-161-0/+222
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7746 b3059339-0415-0410-9bf9-f77b7e298cf2