summaryrefslogtreecommitdiffstats
path: root/libao2
Commit message (Collapse)AuthorAgeFilesLines
* ALSA 1.x audio out driverhenry2004-01-112-27/+41
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11776 b3059339-0415-0410-9bf9-f77b7e298cf2
* use -mixer with alsa9attila2004-01-102-4/+36
| | | | | | | patch by Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11765 b3059339-0415-0410-9bf9-f77b7e298cf2
* URL updated.diego2004-01-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11751 b3059339-0415-0410-9bf9-f77b7e298cf2
* occured --> occurred typo patch by Clinton Roy <croy@dstc.edu.au>diego2003-12-241-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11679 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch contains bugfixes for the esd audio output driver that Iattila2003-12-101-43/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | uncovered while trying to send sound to a remote esd server over a wireless (11 mbs, just enough to handle to sound) link. First, the sound was full "ticking" sounds. I found a bug that prevented the "send the remainder of this block" code from ever being called - so large chunks of audio were simply being ignored. Fixing this bug removed the "ticking" from audio streams. Fixing this bug, however, uncovered another problem - when the socket buffer was full, doing a blocking write to finish the buffer would take far too long and would turn video into a chunky mess. I'd imagine this blocking write would be fine for an audio-only stream, but it turns out to hold up the video far too much. The solution in this patch is to write as much data as possible to the socket, and then return as soon as possible, reporting the number of bytes actually written accurately back to mplayer. I've tested it on both local and remote esd servers, and it works well. Patch by Benjamin Osheroff <ben@gimbo.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11620 b3059339-0415-0410-9bf9-f77b7e298cf2
* original config:joey2003-11-231-1/+1
| | | | | | | | | | | | | | | > ao_data.bps=channels*rate; > if(format != AFMT_U8 && format != AFMT_S8) > ao_data.bps*=2; fallback config, before patch: > ao_data.bps=ao_data.channels * ao_data.samplerate; since we forced the format to S16_LE in fallback, we should double bps to be consistent with an original config of the same settings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11512 b3059339-0415-0410-9bf9-f77b7e298cf2
* A-V sync fix by Timo Kanera <timo@kanera.de>.diego2003-10-301-5/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11324 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
* many small typo and grammar fixesgabucino2003-10-043-7/+7
| | | | | | | Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
* patch from Pierre Lombard <p_l@gmx.fr>attila2003-09-212-2/+2
| | | | | | | | | | | | | | | If the sound channel is already busy the async open fails and returns -EBUSY. There's no need to try to open it synchronously as it will block mplayer till the sound channel is released. (Granted there's a very slight chance your sound device happen to be freed between those two calls but it's not the common case). The behavior is changed by this oneliner to match the ao_oss behavior (disable sound if the sound device is busy). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10899 b3059339-0415-0410-9bf9-f77b7e298cf2
* IRIX support by Timo Kanera <timo@kanera.de>alex2003-09-071-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10839 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100lalex2003-08-182-24/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10660 b3059339-0415-0410-9bf9-f77b7e298cf2
* no channels moving, autosubdievice, nonsupported fix by Vladimir I. Umnov ↵joyping2003-08-152-12/+74
| | | | | | <uvi@ezmail.ru>, removed braindeaded startup message git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10624 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000lalex2003-08-142-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10606 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set close-on-exec after newer open (in reset func). Patch by Andriy Gapon ↵alex2003-08-131-0/+4
| | | | | | <agapon@cv-nj.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10601 b3059339-0415-0410-9bf9-f77b7e298cf2
* better pause mechanism and faster uninit support by Vladimir I. Umnov ↵alex2003-08-032-38/+64
| | | | | | <uvi@ezmail.ru> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10515 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing my (non-working) email addressalex2003-07-033-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10367 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix bps calculation when resampling,attila2003-06-221-1/+1
| | | | | | | patch by Marcus Comstedt <marcus (at) mc.pp.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10326 b3059339-0415-0410-9bf9-f77b7e298cf2
* -ao alsa9:hw:0,0 fix by Wojtek Kaniewski <wojtekka@bydg.pdi.net>alex2003-06-082-6/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10259 b3059339-0415-0410-9bf9-f77b7e298cf2
* esd:server and esd latency support by Andrew Williams ↵alex2003-05-301-11/+41
| | | | | | <andrew.s.williams@adelaide.edu.au> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10214 b3059339-0415-0410-9bf9-f77b7e298cf2
* do it the standard way (tm)alex2003-05-231-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10160 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup/cosmetic patch by the author :)alex2003-05-221-50/+59
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10153 b3059339-0415-0410-9bf9-f77b7e298cf2
* Native MacOSX audio output by Dan Christiansen <danchr@daimi.au.dk>alex2003-05-213-0/+394
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10148 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l remove unused globalfaust32003-05-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10107 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
* 10l to arpi with commit r1.12, noticed by Daniel Mario Vega <dv5a@dc.uba.ar>alex2003-03-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9671 b3059339-0415-0410-9bf9-f77b7e298cf2
* 64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>alex2003-03-2129-31/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9634 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix -loop problemfaust32003-03-151-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9590 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace snd_pcm_drain with snd_pcm_drophenry2003-03-142-34/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix small memleak in control().ranma2003-03-141-7/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9584 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100larpi2003-02-121-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9412 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
* hwac3 fixarpi2003-02-031-1/+2
| | | | | | | bugrep & testing by Stefan Baehre <ste.ba@gmx.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9266 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
* compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>arpi2003-02-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 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
* nice 10l bug, found by Balatoni Denes <pnis@coder.hu>arpi2003-01-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9142 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
* 10l :)arpi2003-01-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8980 b3059339-0415-0410-9bf9-f77b7e298cf2
* Workaround for returning very litte buffer space.filon2003-01-102-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8875 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10larpi2003-01-091-2/+1
| | | | | | | noticed by Joe Barnett <sanchezthecactus@yahoo.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8849 b3059339-0415-0410-9bf9-f77b7e298cf2
* (nicer) endianness fix for every plugin except pl_formatcolin2003-01-037-38/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8742 b3059339-0415-0410-9bf9-f77b7e298cf2
* trivial endianness fixcolin2003-01-031-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8741 b3059339-0415-0410-9bf9-f77b7e298cf2
* trivial bigendian fixcolin2003-01-031-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8740 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rearrange the vo and ao driver order to prefer the native drivers and givediego2003-01-031-3/+3
| | | | | | | a better out of the box experience on Cygwin. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8730 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l fixes sync?faust32002-12-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8658 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added/reordered #includes to silence warnings about "implicit declaration".rathann2002-12-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8624 b3059339-0415-0410-9bf9-f77b7e298cf2
* ao_oss was not using the channel & format returned by the soundcardarpi2002-12-281-5/+5
| | | | | | | | | | for ao_data.bps calcualtion - hence fscked up av sync if soundcard didn't support a number of channels or audio format. patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8604 b3059339-0415-0410-9bf9-f77b7e298cf2
* DVB-HEAD (aka. NEWSTRUCT) detection & supportarpi2002-12-281-0/+9
| | | | | | | patch by Dimitrios Dimitrakos <mail@dimitrios.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8595 b3059339-0415-0410-9bf9-f77b7e298cf2
* - Fix 8-bit sound in arts audio driver (logic in OBTAIN_BITRATE macro wasjkeil2002-12-271-1/+19
| | | | | | | | | | | broken) - arts server always expects 16-bit sound in little endian byte order, even in the case the artsd server runs on a big endian machine. Make sure that mplayer's audio filters convert the samples into one of the arts supported sound formats. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8577 b3059339-0415-0410-9bf9-f77b7e298cf2
* Oops, missing Makefile in the esd audio driver check-in; libao2 Makefile needsjkeil2002-12-271-1/+1
| | | | | | | esd include flags git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8575 b3059339-0415-0410-9bf9-f77b7e298cf2
* new EsounD audio driver (-ao esd)jkeil2002-12-272-0/+474
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8573 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixesarpi2002-12-141-1/+1
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
* OK, I think I found why the alsa9 driver was breaking surround sound.arpi2002-12-042-2/+2
| | | | | | | | | ALSA returns the buffer size in _frames_, not bytes, so multiplying by bytes_per_sample is needed. patch by Tom Lees <tal26@cam.ac.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8351 b3059339-0415-0410-9bf9-f77b7e298cf2
* The enclosed patch should fix problems associated with playing 8-bit widearpi2002-12-042-6/+12
| | | | | | | | | audio samples (or anything other than 16-bit samples, for that matter) using the alsa9 ao driver. patch by "R.L. Horn" <eastcheap@fastmail.fm> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8347 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1l, opposite meaning of what's intended!rfelker2002-11-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8305 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid giving a /dev/dsp fd to child processes!!rfelker2002-11-281-0/+4
| | | | | | | | (menu exec, xscreensaver nonsense, etc) other parts of mplayer should be fixed like this as well! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8304 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement volume setting functionality,ranma2002-11-241-2/+47
| | | | | | | | | original patch by Nguyen Kim <nguyenk@ie2.u-psud.fr>. Note that volume changing never worked on my system with NAS, but that seems to be a nasd problem which I did not try to track down yet... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8273 b3059339-0415-0410-9bf9-f77b7e298cf2
* added floatalex2002-11-172-6/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8223 b3059339-0415-0410-9bf9-f77b7e298cf2
* volnorm for bigendiancolin2002-11-171-1/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8219 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-064-3/+7
| | | | | | | 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
* 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
* warning fixeshenry2002-11-022-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8037 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-016-56/+52
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* add ao_win32faust32002-10-251-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7917 b3059339-0415-0410-9bf9-f77b7e298cf2
* new windows waveout audio driverfaust32002-10-251-0/+249
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7914 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check what we obtain in SDL_OpenAudio() - allows to build thecolin2002-10-251-5/+33
| | | | | | | | | correct audio filter chain if soundcard doesn't support what is requested. Checked by Arpi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7909 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change SDL_(Un)lockAudio to PauseAudio() (works better)colin2002-10-241-2/+2
| | | | | | | checked by Arpi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7898 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixes by Dominikarpi2002-10-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7849 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixes:arpi2002-10-131-112/+111
| | | | | | | | | | | | | | | | | | - missing check in init - missing brackets causing failure - nas_aformat_to_auformat not working properly - fix hang that was finally reproducible with high disk activity - don't cut of audio on uninit(), wait for buffer to empty It also simplifies the event_handler, making it more readable and implements Sidik Isani's suggestion to make the buffer size dependent on bytes per second. I've been using it for two days and found no further problems. patch by Tobias Diedrich <td@sim.uni-hannover.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7733 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for audio filters on big endian cpus. It's working now on Solaris SPARC &jkeil2002-10-121-0/+11
| | | | | | | x86 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7720 b3059339-0415-0410-9bf9-f77b7e298cf2
* - ao_data.bps not set, confuses the A-V sync computation when the audio filtersjkeil2002-10-111-2/+16
|