aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2/ao_pcm.c
Commit message (Collapse)AuthorAge
* Output WAVE_FORMAT_EXTENSIBLE extension in wave header when waveheaderGravatar tack2010-02-22
| | | | | | | | option is enabled (default) and channels > 2. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30708 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless empty lines at EOF.Gravatar diego2010-02-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support more formats for -ao pcm in raw mode.Gravatar reimar2010-01-23
| | | | | | | Patch by Peter Fordham [peter.fordham gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30400 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for distinguishing between little- and big-endian SPDIF AC3Gravatar reimar2010-01-11
| | | | | | | and converting between both. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30283 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for 8 channel audio.Gravatar tack2009-11-10
| | | | | | | | Where 8 channel support is non-trivial (e.g. ao_dsound), at least ensure we fail gracefully. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29868 b3059339-0415-0410-9bf9-f77b7e298cf2
* The suboption parser now takes a const options list, so mark them all const.Gravatar reimar2009-09-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29628 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.Gravatar diego2009-07-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a hack to detect when we are writing into a Windows pipe since the fseekGravatar reimar2009-05-16
| | | | | | | | | incorrectly does not fail like it should. This ensures we will not incorrectly append the file header at the end. Based on patch by Zhou Zongyi [zhouzongyi at pset.suntec.net] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29311 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add forgotten "static" to new data_length variable in ao_pcmGravatar reimar2009-03-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29037 b3059339-0415-0410-9bf9-f77b7e298cf2
* Whitespace-only cosmetics: use consistent indentation in ao_pcm.cGravatar reimar2009-03-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29036 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print a warning if ao_pcm wrote more data than what can be specified in theGravatar reimar2009-03-22
| | | | | | | WAV header (ca. 2GB currently) or if it can not update the header at all. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29035 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make ao_info_t structs const.Gravatar reimar2009-03-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28858 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard license headers.Gravatar diego2009-01-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28378 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a comment that makes no longer sense (since quite some time actually)Gravatar reimar2008-05-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26637 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support 32 bit float and integer formats in ao_pcm.cGravatar reimar2008-05-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26636 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix all current known multi-channel wrong order problems by addingGravatar ulion2007-12-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.Gravatar ulion2007-11-21
| | | | 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 ↵Gravatar reimar2006-12-07
| | | | | | undefined. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove bswap.h, use libavutil/bswap.h instead.Gravatar diego2006-11-29
| | | | 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 toGravatar reimar2006-11-26
| | | | | | | | 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 commandGravatar diego2006-05-14
| | | | | | | 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 itGravatar diego2006-05-13
| | | | | | | 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 dumpingGravatar reimar2006-04-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18093 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | 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.Gravatar reimar2005-08-17
| | | | | | | 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 typeGravatar reimar2005-01-19
| | | | 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 ↵Gravatar reimar2005-01-03
| | | | | | 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.Gravatar reimar2005-01-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14302 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing ;Gravatar faust32005-01-02
| | | | 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.Gravatar reimar2005-01-02
| | | | | | | 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_shortGravatar alex2004-12-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14265 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing AFMT_ dependancyGravatar alex2004-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make include paths consistent.Gravatar diego2004-12-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14124 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg transition of unmaintained audio output drivers.Gravatar ivo2004-09-18
| | | | | | | 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 flagGravatar alex2004-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12146 b3059339-0415-0410-9bf9-f77b7e298cf2
* 64bit types fix by a unkown mandrake 64bit expertGravatar attila2003-10-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11271 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct dumping hint (vc dummy faster than null).Gravatar ranma2003-05-05
| | | | 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>Gravatar alex2003-03-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9634 b3059339-0415-0410-9bf9-f77b7e298cf2
* The "initialize wav header with infinite lenght" broke theGravatar arpi2003-02-04
| | | | | | | | | 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 userGravatar arpi2003-02-02
| | | | | | | 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>Gravatar arpi2003-01-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9157 b3059339-0415-0410-9bf9-f77b7e298cf2
* When the file is not finished to be written,Gravatar arpi2003-01-19
| | | | | | | | | 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 ;))Gravatar colin2002-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8061 b3059339-0415-0410-9bf9-f77b7e298cf2
* updated for libaf rulesGravatar arpi2002-10-07
| | | | 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>Gravatar arpi2002-08-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6942 b3059339-0415-0410-9bf9-f77b7e298cf2
* endianess fix by Colin Leroy <colin@colino.net>Gravatar arpi2002-07-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6763 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow writing to pipe.Gravatar albeu2002-06-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6502 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes (string.h is required for memset)Gravatar pl2002-05-30
| | | | | | | | 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 ↵Gravatar atmos42002-04-26
| | | | | | | | | bswap.h macros. - Fix with audio only files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5838 b3059339-0415-0410-9bf9-f77b7e298cf2