summaryrefslogtreecommitdiffstats
path: root/libao2/ao_alsa9.c
Commit message (Collapse)AuthorAgeFilesLines
* many small typo and grammar fixesgabucino2003-10-041-3/+3
| | | | | | | 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-211-1/+1
| | | | | | | | | | | | | | | 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
* 100lalex2003-08-181-12/+3
| | | | 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-151-6/+37
| | | | | | <uvi@ezmail.ru>, removed braindeaded startup message git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10624 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000lalex2003-08-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10606 b3059339-0415-0410-9bf9-f77b7e298cf2
* better pause mechanism and faster uninit support by Vladimir I. Umnov ↵alex2003-08-031-19/+32
| | | | | | <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-031-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10367 b3059339-0415-0410-9bf9-f77b7e298cf2
* -ao alsa9:hw:0,0 fix by Wojtek Kaniewski <wojtekka@bydg.pdi.net>alex2003-06-081-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10259 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
* replace snd_pcm_drain with snd_pcm_drophenry2003-03-141-17/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Workaround for returning very litte buffer space.filon2003-01-101-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8875 b3059339-0415-0410-9bf9-f77b7e298cf2
* OK, I think I found why the alsa9 driver was breaking surround sound.arpi2002-12-041-1/+1
| | | | | | | | | 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-041-3/+6
| | | | | | | | | 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
* warning fixeshenry2002-11-021-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8037 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-17/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed ao_data.bps - patch by Tobias Diedrich <td@sim.uni-hannover.de>arpi2002-10-071-16/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7658 b3059339-0415-0410-9bf9-f77b7e298cf2
* iec958-init completly rewrittenjoyping2002-08-231-139/+49
| | | | | | | some debug printfs cleaned git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7078 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed spdif default from "hw:0,2" to general alias "iec958"joyping2002-08-201-48/+63
| | | | | | | | | | | | based on a patch by Benedikt Hunz <hunz@hunz.org> corrected typo in ugly spdif-warning message added 32/20bit modes for 'high-end'-soundcards disabled hw-mixer-access for big-endian machines (mplayer seems to screw up hw-mixer on LinuxPPC running ALSA needs more testing, but its safer to disable it for now.) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7051 b3059339-0415-0410-9bf9-f77b7e298cf2
* added real mmap supportjoyping2002-07-181-26/+234
| | | | | | | support for -abs opt, 4 different modes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6750 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed spdifjoyping2002-07-111-153/+173
| | | | | | | | | | | spdif device depends now on the given subdevice was hardcoded to hw:0,2 before fixed opt-parsing for hw:x,y like opts seperated initialization of spdif from common init as it was probably intended before git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6703 b3059339-0415-0410-9bf9-f77b7e298cf2
* cVS: ---------------------------------------------------------------------joyping2002-07-031-195/+403
| | | | | | | | | | | | | | | added get/set_sound controls stripped down initializing changed play() again outsourced xrun-handling added some cases to get_space() as xrun-handling added nonblock-mode added mmap-mode added subopts for mmap and noblock called mmap and noblock could be accessed as -ao alsa9:noblock:mmap git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6634 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup and bufferhandling fix by Joy Ping <joy at pingfm.org>. ↵alex2002-06-281-173/+240
| | | | | | Bufferhandling fix based on idea by Marius David <marius at rohost.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6590 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused controlsalex2002-05-261-17/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6195 b3059339-0415-0410-9bf9-f77b7e298cf2
* AC3 passthrough support by Andy Lo A Foe <andy at alsaplayer dot org>alex2002-05-261-11/+136
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6194 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l pl =)atmos42002-04-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5858 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for latest alsa (sys/asoundlib.h has been moved to alsa/asoundlib.h)pl2002-04-271-0/+7
| | | | | | | | cleanups for "usr/src/DVB/ost/include" detection small cosmetic fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5856 b3059339-0415-0410-9bf9-f77b7e298cf2
* AFMT_AC3 autodetect/fallback to S16arpi2002-04-221-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Parse bug fixed (I hope)anders2001-11-261-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3136 b3059339-0415-0410-9bf9-f77b7e298cf2
* ao_subdevice fixed. 10l...arpi2001-11-261-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3130 b3059339-0415-0410-9bf9-f77b7e298cf2
* interface to libao2 changed ao_plugin addedanders2001-11-241-32/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3096 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied patch by Joy Winter <joy@pingfm.org>arpi2001-10-151-28/+64
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2210 b3059339-0415-0410-9bf9-f77b7e298cf2
* alsa9 pecs by joy_ping <joy@pingfm.org>pontscho2001-10-031-27/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2060 b3059339-0415-0410-9bf9-f77b7e298cf2
* ao_subdevice support addedal3x2001-06-231-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1208 b3059339-0415-0410-9bf9-f77b7e298cf2
* added warning messageal3x2001-06-211-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1181 b3059339-0415-0410-9bf9-f77b7e298cf2
* hacked aocontrol_set_device working, and cleaned up a bital3x2001-06-171-11/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1147 b3059339-0415-0410-9bf9-f77b7e298cf2
* hacked to work seek/pause/resume/uninital3x2001-06-141-2/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1130 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hacked it working, still needs fixings!atmosfear2001-06-141-23/+49
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1129 b3059339-0415-0410-9bf9-f77b7e298cf2
* -Wall style cleanups, TEST IT, it can be working by othersal3x2001-06-121-5/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1116 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed AFMT_ stuff (inclue afmt.h)arpi_esp2001-06-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1059 b3059339-0415-0410-9bf9-f77b7e298cf2
* first release, meg nem akar menni :(al3x2001-06-071-0/+474
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1051 b3059339-0415-0410-9bf9-f77b7e298cf2