Commit Graph

67 Commits

Author SHA1 Message Date
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