summaryrefslogtreecommitdiffstats
path: root/libaf
Commit message (Collapse)AuthorAgeFilesLines
* Fix channel reordering when using 24-bit samples by adding breaks to casestack2009-08-191-0/+4
| | | | | | | | | missed by r29427. Patch submitted by Shane W, shane-mplayer csy ca git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29541 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: adjust alignment.tack2009-08-181-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29534 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix incorrect channel ordering for lavc audio codecs (specifically ffac3,tack2009-08-183-26/+23
| | | | | | | | | ffdca, ffflac, ffaac, fftruehd). In the process, adds support for 32-bit samples. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29533 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.diego2009-07-263-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 24bit audio playback.iive2009-07-191-0/+6
| | | | | | | | | | | | | The reordering channels code had reoccurring bug where in switch(samplesize) block the case 3 (3 bytes) doesn't end with break; leading to execution of the next case 4 too. This mangles the already processed data and causes massive memory corruption. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29427 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-1334-1324/+1324
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics for r29244 to follow K&R style closely.bircoph2009-05-031-17/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29245 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for libbs2b ver. 3.0.0 API.bircoph2009-05-031-20/+82
| | | | | | | | Now filter parameters are highly controllable, virtually all audio formats are supported, and new profiles are available. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29244 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use native endian float filter provided by libbs2b instead ofbircoph2009-04-021-5/+2
| | | | | | | selection based on WORDS_ENDIAN. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29134 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add libbs2b audio filter itself.bircoph2009-04-022-0/+219
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29132 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary malloc.h #includes and related #ifdeffery.diego2009-04-021-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move config.h include directive up as a precaution measure.bircoph2009-03-281-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29091 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reorder includes alphabetically.bircoph2009-03-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29090 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove af_mp.h and add its content to af.hbircoph2009-03-282-34/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29089 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove af_msg special-casing API in libaf.bircoph2009-03-2820-180/+141
| | | | | | | Replace it by standard mp_msg message system. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29088 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove file names from file header, it only causes trouble.diego2009-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28959 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove several useless casts from af_resamplereimar2009-03-061-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28848 b3059339-0415-0410-9bf9-f77b7e298cf2
* Free af->setup and contents in af_resample uninit function.reimar2009-03-061-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28847 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use calloc to allocate the af_resample ring buffers, reportedly usingreimar2009-03-061-1/+1
| | | | | | | | | non-zeroed buffers can cause initial noise, see -dev-eng: [PATCH]: Add missing memset after malloc in libaf/af_resample.c Wed, 4 Mar 2009 15:29:30 +0800 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28846 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a single malloc to allocate space for the circular buffers.reimar2009-03-061-5/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28845 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment typo fixes for af_resamplereimar2009-03-061-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28844 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_stats: Some fixes to the new filteruau2009-02-211-13/+14
| | | | | | | | The just committed af_stats was an older version of the patch with broken max volume calculation. Fix that and do some cleanup. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28698 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include "config.h", fixes the warning:diego2009-02-211-0/+1
| | | | | | | libaf/af.c:23:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28697 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add statistics audio filter that prints information about the audio stream.diego2009-02-212-0/+160
| | | | | | | patch by Nicolas George, nicolas.george normalesup org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28696 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:diego2009-02-171-1/+1
| | | | | | | mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
* WORDS_BIGENDIAN is defined/undefined, not 0/1.diego2009-01-262-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28374 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop HAVE_LRINTF check, lrintf is used without checking in other places.diego2009-01-261-8/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28372 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_3DNOW --> HAVE_AMD3DNOWdiego2009-01-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix build: Add required header and adjust preprocessor check.diego2009-01-251-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28368 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header for av_gcd, fixes the warning:diego2009-01-251-0/+1
| | | | | | | libaf/af_resample.c:204: warning: implicit declaration of function 'av_gcd' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28357 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation: s/ff_gcd/av_gcd.cehoyos2009-01-171-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28338 b3059339-0415-0410-9bf9-f77b7e298cf2
* More #ifdef HAVE_MMX etc. missed by earlier search.reimar2009-01-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28327 b3059339-0415-0410-9bf9-f77b7e298cf2
* More #ifdef -> #if fixesreimar2009-01-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28326 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename libaf/af_format_alaw.c --> libaf/af_format_alaw.h anddiego2009-01-053-8/+8
| | | | | | | | | libaf/af_format_ulaw.c --> libaf/af_format_ulaw.h. Both files are not compiled but used as standard headers, so there is no reason for them not be named like any other header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28273 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use standard multiple inclusion guards.diego2009-01-052-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28272 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary local definition of _ISOC9X_SOURCE.diego2009-01-051-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28271 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove obsolete and misleading comment.diego2009-01-051-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28265 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace informal license notices by standard license headerdiego2009-01-0535-245/+705
| | | | | | | and add standard license header where missing. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28264 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix two more instances of nonstandard license headers.diego2009-01-051-11/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename libaf/af_resample.h to libaf/af_resample_template.c, it is used asdiego2009-01-022-5/+5
| | | | | | | a macro, not as a header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28236 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add const to avoid warnings about discarded qualifiers.reimar2008-12-051-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28091 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-033-30/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.diego2008-10-131-6/+5
| | | | | | | This avoids a pointless indirection that only obscures what is really done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix channel order for ffmpeg flac codec.ulion2008-10-092-1/+6
| | | | | | | This patch comes from Andrew de Quincey <adq_dvb at lidskialf dot net>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27732 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename a bunch of miscellaneous preprocessor directives.diego2008-08-071-1/+1
| | | | | | | Switch them from a HAVE_ to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27423 b3059339-0415-0410-9bf9-f77b7e298cf2
* Start unifying names of internal preprocessor directives.diego2008-07-301-4/+4
| | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make af_hrtf tables static constreimar2008-07-151-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27291 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add const to libaf/filter.c functions.reimar2008-07-152-17/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27290 b3059339-0415-0410-9bf9-f77b7e298cf2
* rename AF_CHANNEL_LAYOUT_LAVC_VORBIS* => AF_CHANNEL_LAYOUT_VORBIS*.ulion2008-06-072-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27019 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove useless parentheses from return statements.diego2008-05-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use standard license headers with standard formatting.diego2008-05-147-41/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26772 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifier: Rename _ftype_t macro to FLOAT_TYPE.diego2008-04-105-73/+92
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26382 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless #include.diego2008-04-091-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26377 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge libaf/Makefile into Makefile, one less instance of recursive make.diego2008-04-091-37/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26376 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some useless quotes from #error preprocessor directives.diego2008-04-092-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26375 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use quotes instead of angular brackets for local includes.diego2008-04-094-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26374 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle af_ladspa conditional compilation in the usual way.diego2008-04-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26373 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include config.h before all other headers.diego2008-03-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header #include to fix 'make checkheaders'.diego2008-03-101-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26214 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_export.c is only compiled if HAVE_SYS_MMAN_H is set, so using thatdiego2008-03-101-2/+0
| | | | | | | #ifdef within the file is pointless git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix ffvorbis decoder's output channel order with channel reordering function.ulion2008-03-052-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26164 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add directory names to libavcodec #includes.diego2008-03-031-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26152 b3059339-0415-0410-9bf9-f77b7e298cf2
* Wrap '#include <sys/mman.h>' in HAVE_SYS_MMAN_H.diego2008-03-011-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26137 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg now uses different (unified) #include paths.diego2008-02-251-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace silly check for config.h inclusion, just include it.diego2008-02-241-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26096 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-2210-32/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* This header should not have multiple inclusion guards, it is meantdiego2008-02-181-4/+3
| | | | | | | | to be included multiple times. patch by Alexander Stege mplayer a legale-software d com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26026 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializeddiego2008-02-141-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix buffer overflow bug by calculate the buffer size accurately.ulion2008-01-111-3/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25670 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards to all header files that lack them.diego2008-01-013-0/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace multiple inclusion guards with leading underscores by default names.diego2008-01-014-12/+12
| | | | | | | Leading underscores are reserved for system identifiers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25579 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-313-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Relicense GPL v2 files as GPL v2+ and add proper license headers.diego2007-12-312-4/+38
| | | | | | | Done with permission from Michael Niedermayer, the author. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25557 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add new audio filter for encoding multi-channel audio into ac3 at runtime.ulion2007-12-133-0/+306
| | | | | | | | And if set first parameter of this filter to 1, it will do ac3 passthrough like hwac3 did. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25385 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix all current known multi-channel wrong order problems by addingulion2007-12-103-0/+1323
| | | | | | | | | | | common functions for channel reordering. This fixes these modules by adding channel reordering code for 5.0/5.1 audio: ao: pcm ad: dmo, faad, ffmpeg(ac3, dca, libfaad, liba52), pcm ae: faac, lavc(ac3, libfaac), pcm git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix my wrong code in r25530.ulion2007-12-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25334 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix missing command line bug by making the input parameter constant.ulion2007-12-101-6/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25330 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, bzero is deprecated, use memset insteadreimar2007-11-301-1/+1
| | | |