summaryrefslogtreecommitdiffstats
path: root/libao2/ao_pcm.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix all current known multi-channel wrong order problems by addingulion2007-12-101-0/+10
| | | | | | | | | | | 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
* Support dump AF_FORMAT_AC3 format.ulion2007-11-211-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25125 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around libavutil/bswap.h compilation problems due to always_inline ↵reimar2006-12-071-1/+1
| | | | | | undefined. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove bswap.h, use libavutil/bswap.h instead.diego2006-11-291-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
* le2me_32 is no longer a macro on PPC, and in general does not have toreimar2006-11-261-16/+7
| | | | | | | | be, thus using it like a constant is incorrect. Move wavhdr initialization to the code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21266 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only set the default output filename when it was not passed on the commanddiego2006-05-141-3/+4
| | | | | | | line. Noticed by Corey Hickey. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18501 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move setting the output filename after the suboption parsing, otherwise itdiego2006-05-131-2/+4
| | | | | | | cannot take the suboptions that were set into account. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18489 b3059339-0415-0410-9bf9-f77b7e298cf2
* -ao pcm:fast suboption for faster-than-realtime dumpingreimar2006-04-141-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18093 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-5/+5
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set block_align in header, seems MatLab can not handle files without.reimar2005-08-171-0/+1
| | | | | | | Patch by Pedro Larroy Tovar (pedro at larroy dot com). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16244 b3059339-0415-0410-9bf9-f77b7e298cf2
* use MSTRZ suboption typereimar2005-01-191-12/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14540 b3059339-0415-0410-9bf9-f77b7e298cf2
* Default to audiodump.pcm with nowaveheader again, but document it in the ↵reimar2005-01-031-2/+7
| | | | | | manpage this time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14328 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use strndup, it is missing on MinGW.reimar2005-01-021-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14302 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing ;faust32005-01-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14301 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -ao pcm suboptions and remove -aofile and -waveheader options.reimar2005-01-021-4/+19
| | | | | | | Base on idea by Olivier Rolland (billl at users dot sf dot net) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14299 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_fmt2str_shortalex2004-12-281-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14265 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing AFMT_ dependancyalex2004-12-271-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make include paths consistent.diego2004-12-071-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14124 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg transition of unmaintained audio output drivers.ivo2004-09-181-7/+8
| | | | | | | Patch by Reynaldo H. Verdejo Pinochet <reynaldo at opendot dot cl> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13384 b3059339-0415-0410-9bf9-f77b7e298cf2
* uninit immed flagalex2004-04-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12146 b3059339-0415-0410-9bf9-f77b7e298cf2
* 64bit types fix by a unkown mandrake 64bit expertattila2003-10-261-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11271 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct dumping hint (vc dummy faster than null).ranma2003-05-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10078 b3059339-0415-0410-9bf9-f77b7e298cf2
* 64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>alex2003-03-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9634 b3059339-0415-0410-9bf9-f77b7e298cf2
* The "initialize wav header with infinite lenght" broke thearpi2003-02-041-1/+6
| | | | | | | | | post-recording fixup by changing the initialisation value of data_length. This fixes it. based on patch by Olivier Galibert <galibert@pobox.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9278 b3059339-0415-0410-9bf9-f77b7e298cf2
* temporary 'inifinte' length disabled (commit r1.13 reversed) due to userarpi2003-02-021-2/+2
| | | | | | | compalints git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9224 b3059339-0415-0410-9bf9-f77b7e298cf2
* double free(), found by Olivier Galibert <galibert@pobox.com>arpi2003-01-291-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9157 b3059339-0415-0410-9bf9-f77b7e298cf2
* When the file is not finished to be written,arpi2003-01-191-2/+3
| | | | | | | | | it has a temporary length of 0. It is more logical to write an infinite length. (sox does this) patch by Alain Daurat <daurat@tiscali.fr> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9027 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix endianness issue on bigendian (let libaf do the conversion ;))colin2002-11-021-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8061 b3059339-0415-0410-9bf9-f77b7e298cf2
* updated for libaf rulesarpi2002-10-071-18/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7659 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vc null is better than -hardframedrop -- hint by gabor <gabor@realtime.sk>arpi2002-08-061-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6942 b3059339-0415-0410-9bf9-f77b7e298cf2
* endianess fix by Colin Leroy <colin@colino.net>arpi2002-07-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6763 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow writing to pipe.albeu2002-06-221-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6502 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes (string.h is required for memset)pl2002-05-301-1/+3
| | | | | | | | moved config.h at the top of the include (often avoids 10L when adding a new #include ;) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6238 b3059339-0415-0410-9bf9-f77b7e298cf2
* - Fix for big apple architectures by Rogerio Brito, reworked by me to use ↵atmos42002-04-261-25/+58
| | | | | | | | | bswap.h macros. - Fix with audio only files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5838 b3059339-0415-0410-9bf9-f77b7e298cf2
* good-looking fix by Tobias Diedrich <td@informatik.uni-hannover.de>arpi2002-03-021-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4915 b3059339-0415-0410-9bf9-f77b7e298cf2
* interface to libao2 changed ao_plugin addedanders2001-11-241-13/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3096 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ooopsatmosfear2001-06-121-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1114 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for writing wave files and specifying filename to write to.atmosfear2001-06-121-5/+73
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1113 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added raw PCM writer ao driver.atmosfear2001-06-121-0/+97
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1108 b3059339-0415-0410-9bf9-f77b7e298cf2