summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/dec_audio.c
Commit message (Collapse)AuthorAgeFilesLines
* display correct audio bitrate, samplerate and number of channels onceivo2006-08-151-0/+3
| | | | | | | | they are known for mplayer -identify git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19409 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove empty function that isn't used anywhere (and never has been??).uau2006-08-141-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19399 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix buffer size sanity check to match what is actually required.uau2006-08-141-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19398 b3059339-0415-0410-9bf9-f77b7e298cf2
* get_path as const, patch by Stefan Huehner, stefan AT huehner-orgreynaldo2006-07-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 3reynaldo2006-07-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵reynaldo2006-04-241-2/+1
| | | | | | the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
* memalign segfaults when used without declaration on amd64 (default function ↵aurel2006-02-161-0/+4
| | | | | | return type is int so the pointer was trunctated to 32bits) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17636 b3059339-0415-0410-9bf9-f77b7e298cf2
* Align memory at 16 byte boundaries.diego2006-02-141-3/+3
| | | | | | | | | This fixes crashes related to AltiVec as reported at http://mplayerhq.hu/pipermail/mplayer-advusers/2006-January/001381.html patch by Luca Barbato, lu_zero #at# gentoo #dot# org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* Push "Building audio filter chain" up to verbose level.diego2006-01-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17428 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make a few more messages translatable by moving them into help_mp-en.h.diego2005-10-181-2/+2
| | | | | | | patch by Paul TT < paultt == at == hackerjournal == dot == it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow forcing of demuxers and codecs by prepending '+'reimar2005-08-301-3/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16322 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, missing returnfaust32005-08-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16307 b3059339-0415-0410-9bf9-f77b7e298cf2
* -af-adv force=1 is now default (and thus also lavcresample)reimar2005-07-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15951 b3059339-0415-0410-9bf9-f77b7e298cf2
* make -srate work again, unify audio filter init and preinit.reimar2005-06-241-43/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15812 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM ↵gpoirier2005-06-201-0/+2
| | | | | | en DASH directo POUM net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove file-global mpadec, add ad_driver member to sh_audio_t instead.hzoli2005-02-251-8/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14820 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally remove the refences to bps outside libaf. also simplification of ↵alex2005-02-251-26/+23
| | | | | | some messages and removed redundants git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14819 b3059339-0415-0410-9bf9-f77b7e298cf2
* If -af-adv force=4 is in effect, use ADCTRL_QUERY_FORMAT to query thehzoli2005-02-251-0/+8
| | | | | | | ad codec about float support and set floatne format if supported. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14816 b3059339-0415-0410-9bf9-f77b7e298cf2
* more verbose messagealex2005-02-251-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14815 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert sh_audio->wf freeing.iive2005-01-171-2/+0
| | | | | | | | Freeing should be done elsewhere, as it prevents second codec to access the same structure. Reported by elupus at ecce.se git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14528 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing AFMT_ dependancyalex2004-12-271-8/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
* Free WAVEFORMATEX in sh_audio when all other sh_audio members are freed.iive2004-11-151-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13956 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved sh_audio initialization from dec_audio to demuxer.c to fixreimar2004-09-161-19/+0
| | | | | | | | -hr-mp3-seek bug (pts was -inf after seeking) and remove the workaround from demux_audio.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13358 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed #ifdefs that are already handled by libao2/afmt.hreimar2004-05-141-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12477 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lrfelker2004-05-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12385 b3059339-0415-0410-9bf9-f77b7e298cf2
* not pretty, but at least it prevents the channels from getting out of order...rfelker2004-01-271-1/+3
| | | | | | | | the real solution is to get rid of libaf (probably the worst code in mplayer!) and replace it with a good audio layer... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11858 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lrfelker2004-01-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11856 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor leak fixalex2003-09-021-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10804 b3059339-0415-0410-9bf9-f77b7e298cf2
* codecs.conf is obsolete.diego2003-08-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10684 b3059339-0415-0410-9bf9-f77b7e298cf2
* renames: DATADIR->MPLAYER_DATADIR, CONFDIR->MPLAYER_CONFDIR, ↵arpi2003-06-091-3/+3
| | | | | | LIBDIR->MPLAYER_LIBDIR git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10273 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l bug (double free() when libaf init failed)arpi2003-01-281-0/+1
| | | | | | | | | | thanx for their help: Michael Mauch <michael.mauch@gmx.de> Marc Packenius <marc@freenet-rz.de> Bartek Kulicki <bartek@interecho.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9133 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lhenry2003-01-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9019 b3059339-0415-0410-9bf9-f77b7e298cf2
* 2-pass libaf initialization to get better filter chain.arpi2003-01-181-2/+50
| | | | | | | | -channels, -format, -srate function changed, they affect codec & preinit outformat only, use -af resample=XXX,channels=YYY,format=ZZZ to override. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8996 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding support for more logical libaf configurationanders2003-01-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8970 b3059339-0415-0410-9bf9-f77b7e298cf2
* New features:anders2002-11-121-3/+3
| | | | | | | | | | | | | | | | -- 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
* dlopen() support for ad and vdalex2002-11-111-0/+41
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8153 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-1/+2
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* reset channels tooarpi2002-10-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7670 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adding -format and -af switchesanders2002-10-061-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7615 b3059339-0415-0410-9bf9-f77b7e298cf2
* aufio filter layer (libaf) integration to libmpcodecs, mplayer and mencoderarpi2002-10-051-3/+135
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7605 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed obsolote func, some cosmetics of AUDIO: msgarpi2002-09-291-38/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7562 b3059339-0415-0410-9bf9-f77b7e298cf2
* -ac/-afm rewrite, now works the same way as -vc/-vfmarpi2002-09-281-15/+95
| | | | | | | including audio codec fallbacks if init failed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7523 b3059339-0415-0410-9bf9-f77b7e298cf2
* best audio/video codec selection & init moved to libmpcodecsarpi2002-09-251-0/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7503 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed uninit orderarpi2002-09-011-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7241 b3059339-0415-0410-9bf9-f77b7e298cf2
* -afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/commentsarpi2002-08-311-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7192 b3059339-0415-0410-9bf9-f77b7e298cf2
* -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and ↵arpi2002-08-301-4/+5
| | | | | | makes dlopen()'ing possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
* messages moved from dec_??d?o.cjaf2002-08-131-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6990 b3059339-0415-0410-9bf9-f77b7e298cf2
* typoalex2002-05-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6187 b3059339-0415-0410-9bf9-f77b7e298cf2
* big cosmetics patch, cleanup of messages printed by mplayer and libs.arpi2002-05-201-1/+1
| | | | | | | | some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
* always reser audio input buffer pointerarpi2002-05-121-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6050 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf to mp_msgalbeu2002-05-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5934 b3059339-0415-0410-9bf9-f77b7e298cf2
* audio input buffer allocation/free cleanuparpi2002-04-011-13/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5459 b3059339-0415-0410-9bf9-f77b7e298cf2
* imporetd from MPlayerXP, with small modificationarpi2002-03-251-0/+131
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5343 b3059339-0415-0410-9bf9-f77b7e298cf2