summaryrefslogtreecommitdiffstats
path: root/libao2
Commit message (Collapse)AuthorAgeFilesLines
* bugfix for ao_macosx last dts passthrough patch, patch by Ulion, ulion2002 ↵nplourde2007-10-131-1/+1
| | | | | | gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24769 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for AC-3/DTS passthrough.nplourde2007-10-111-48/+778
| | | | | | | patch by Ulion, ulion2002 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24762 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: misc typo fixesdiego2007-09-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24615 b3059339-0415-0410-9bf9-f77b7e298cf2
* ao_alsa: Fix get_space() return values larger than buffersizeuau2007-09-241-2/+2
| | | | | | | | | | | | | | | | | After a buffer underrun the ALSA get_space() function sometimes returned values larger than the ao had set in ao_data.buffersize. Fix this by replacing the old check against MAX_OUTBURST by one against ao_data.buffersize. There should be no need for the MAX_OUTBURST check; the current MPlayer side should no longer have any constant limit on the amount of data an ao can buffer or request at once. The get_space() values larger than ao_data.buffersize triggered errors in audio decoding causing the current attempt to fill audio buffers to be aborted. I'm not sure how often that caused behavior noticeably worse then an underrun already is. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24610 b3059339-0415-0410-9bf9-f77b7e298cf2
* ao_mpegpes does not support S16_LE format, do not claim it does!reimar2007-09-161-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24542 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-091-2/+1
| | | | | | | | ao_mpegpes.c: In function 'init': ao_mpegpes.c:230: warning: label 'retry' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24376 b3059339-0415-0410-9bf9-f77b7e298cf2
* v4l2 audio/video outputs for linux 2.6.22+ kernels (outputs formerly known ↵ben2007-07-292-0/+165
| | | | | | as ivtv) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23925 b3059339-0415-0410-9bf9-f77b7e298cf2
* Somewhat hackish fix for A-V desync with ao_oss and frame stepping:reimar2007-07-191-0/+9
| | | | | | | send 0-samples according to the amount of data lost during pause. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23829 b3059339-0415-0410-9bf9-f77b7e298cf2
* ISO8859-1 --> UTF-8diego2007-07-094-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use leading underscores in multiple inclusion guards, they are reserved.diego2007-07-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix r23353, it broke ao_sun on non-BSD due to accidentially removingreimar2007-06-231-0/+1
| | | | | | | a return ao_data.outburst; git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23613 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use fast_memcpy for small size copy, esp. when the size is constantreimar2007-06-051-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-054-12/+12
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some unused variables, patch by timwoj ieee org.diego2007-05-281-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move common ioctl outside of ifdefreimar2007-05-201-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23354 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clean up some unused code and #ifdef mess in ao_sun.creimar2007-05-201-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23353 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement flushing of audio data. Fixes bug #754.reimar2007-05-201-7/+9
| | | | | | | Based on patch by Sergey Svishchev (svs ropnet ru). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23352 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused code, if it is ever needed it can be recovered from historyreimar2007-05-201-36/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23350 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mono audio should be supported by NAS, too.reimar2007-04-191-1/+1
| | | | | | | Patch by Erik Auerswald {auerswal -at- unix-ag <dot> uni-kl de} git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23024 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix indentation, reorder some lines for consistency.diego2007-03-131-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give more descriptive names to the source and library variables and splitdiego2007-03-131-2/+2
| | | | | | | between common, MPlayer-specific and MEncoder-specific parts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
* When setting the non-audio bit for hwac3 output, just try to set thecladisch2007-02-091-54/+42
| | | | | | | | AES0 parameter in the device name instead of poking around inside ALSA's configuration structures. This means that the non-audio bit will be set even if the user-specified device name tries to clear it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22184 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a few gcc warnings, approved by Diego and Reimar.rathann2007-02-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for AOPLAY_FINAL_CHUNK in ao_sdl.creimar2007-02-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22122 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix FSF address and otherwise broken license headers.diego2007-01-221-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21995 b3059339-0415-0410-9bf9-f77b7e298cf2
* Amiga OS 4 needs a large sample size.diego2006-12-231-1/+1
| | | | | | | patch by Andrea Palmatè, andrea amigasoft net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21749 b3059339-0415-0410-9bf9-f77b7e298cf2
* OpenAL volume controlreimar2006-12-101-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21586 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support OpenAL headers in OpenAL/ instead of AL/ and OpenAL on MacOSX in ↵reimar2006-12-101-1/+7
| | | | | | general. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21572 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a compiler warningreimar2006-12-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21566 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set frequency and correct frequency gettingreimar2006-12-101-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21565 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a disabled and completely outdated sample rate mismatch warning.reimar2006-12-101-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve OpenAL speaker positions a bit.reimar2006-12-091-5/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21546 b3059339-0415-0410-9bf9-f77b7e298cf2
* Half-properly set up OpenAL position stuffreimar2006-12-091-2/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around libavutil/bswap.h compilation problems due to always_inline ↵reimar2006-12-072-2/+2
| | | | | | 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-292-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds support for AOCONTROL_GET_VOLUME/AOCONTROL_SET_VOLUME in ao_macosx, ↵nplourde2006-11-281-3/+26
| | | | | | patcg by Crhis Roccati<roccati@pobox.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21368 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge common parts of all Makefiles into one file included by all.diego2006-11-261-29/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 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
* Remove superfluous comment.diego2006-11-251-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21222 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify dep/depend targets.diego2006-11-201-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21096 b3059339-0415-0410-9bf9-f77b7e298cf2
* MSGTRs for ao_alsa.ckraymer2006-11-081-60/+54
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20780 b3059339-0415-0410-9bf9-f77b7e298cf2
* typodiego2006-11-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20759 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement AOPLAY_FINAL_CHUNK support for dshow and win32 out.reimar2006-10-152-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20256 b3059339-0415-0410-9bf9-f77b7e298cf2
* slight overall verbosity reductiondiego2006-10-121-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20191 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove bogus #ifndef WORDS_BIGENDIAN.diego2006-10-041-2/+0
| | | | | | | patch by Emanuele Giaquinta, e.giaquinta glauco it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20026 b3059339-0415-0410-9bf9-f77b7e298cf2
* When the hardware sample format is AC3, do not force using an hardcodedcladisch2006-09-181-16/+61
| | | | | | | | | | device name. The setting of the non-audio bit is now done by changing the default value of the AES0 parameter in the ALSA configuration structures. This works with user-specified devices, too. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19895 b3059339-0415-0410-9bf9-f77b7e298cf2
* When one of the PCM configuration function in init() fails, abortcladisch2006-09-181-0/+6
| | | | | | | | immediately instead of continuing with the remaining calls that would fail anyway because the device or some variable wasn't properly initialized in this case. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19893 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable multichannel mode, it never worked reliablefaust32006-09-151-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19841 b3059339-0415-0410-9bf9-f77b7e298cf2
* The FSF changed postal address.diego2006-09-012-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix buffering issues with short audio samples on macosx. patch by Chris ↵nplourde2006-08-181-13/+23
| | | | | | Roccati <roccati@pobox.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19433 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move all internal -I parameters to the front of CFLAGS to avoid using externaldiego2006-08-171-1/+1
| | | | | | | | header files that happen to have the same name as internal ones. based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move mpeg aos to the end of the autodetection list. At least mpegpesuau2006-08-161-8/+7
| | | | | | | | should be there since it now works without the corresponding vo but is not a particularly good ao overall. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19415 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace calls to perror() with calls to mp_msg()ivo2006-08-111-7/+8
| | | | | | | | | this will shut up mplayer -realy-quiet. ao_mpegpes is the first ao that is tried and will almost always fail (unless you have the right hardware) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19368 b3059339-0415-0410-9bf9-f77b7e298cf2
* added audio output for ivtv cardsben2006-07-282-1/+169
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19229 b3059339-0415-0410-9bf9-f77b7e298cf2
* if HAVE_DVB isn't set don't fall back to outputting audiograb.mpg by ↵nicodvb2006-07-281-9/+1
| | | | | | default, fail instead git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19227 b3059339-0415-0410-9bf9-f77b7e298cf2
* include sys/poll.h only when HAVE_DVB[_HEAD] is setnicodvb2006-07-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19220 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths in the build system, part I.diego2006-07-271-10/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19195 b3059339-0415-0410-9bf9-f77b7e298cf2
* split the incestous intercourse between ao_mpegpes and vo_mpegpes; now the ↵nicodvb2006-07-261-8/+138
| | | | | | devices can be used separately git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19189 b3059339-0415-0410-9bf9-f77b7e298cf2
* use mpeg packetizer helpers for sending lpcm packetsben2006-07-231-1/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19169 b3059339-0415-0410-9bf9-f77b7e298cf2
* use new mpeg_packetizer helpersben2006-07-221-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19156 b3059339-0415-0410-9bf9-f77b7e298cf2
* OPTFLAGS already includes EXTRA_INC.diego2006-07-121-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use only one global config.mak file.diego2006-07-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19039 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.diego2006-07-091-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
* two variables are made static, one of them additionaly modified to const ↵reynaldo2006-07-091-2/+2
| | | | | | char*. Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18971 b3059339-0415-0410-9bf9-f77b7e298cf2
* make prefix const. Patch by Stefan Huehner, stefan AT huehner-orgreynaldo2006-07-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18970 b3059339-0415-0410-9bf9-f77b7e298cf2
* modifies function declarations without parameters from ()reynaldo2006-07-069-50/+50
| | | | | | | | | to the correct (void). Only files in libao2 are affected. patch by Stefan Huehner stefan AT huehner-org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18920 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 4reynaldo2006-07-033-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18890 b3059339-0415-0410-9bf9-f77b7e298cf2
* Respect AOPLAY_FINAL_CHUNKpacman2006-06-281-2/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18846 b3059339-0415-0410-9bf9-f77b7e298cf2
* respect AOPLAY_FINAL_CHUNK and do not discard samples read from bufferreimar2006-06-251-3/+10
| | | | | | | on underrun. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18812 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove unused variablereimar2006-06-251-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18811 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rewrite audio EOF handling logic fixing some problems that could causeuau2006-06-161-0/+2
| | | | | | | | truncation of output, set flag AOPLAY_FINAL_CHUNK in play call to tell ao there will be no more data beyond what's in current buffer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18738 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove now obsolete .cvsignore files.diego2006-06-021-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 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
* Fix:rathann2006-05-131-0/+1
| | | | | | | | ao_polyp.c:74: warning: implicit declaration of function ‘strcspn’ ao_polyp.c:79: warning: implicit declaration of function ‘strncpy’ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18491 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
* 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