Commit Graph

44 Commits

Author SHA1 Message Date
alex 504270e549 uninit immed flag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12146 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 17:55:36 +00:00
henry bdf78eabee 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12003 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-27 16:57:06 +00:00
henry 70162b5ef8 ALSA 1.x audio out driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11776 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-11 17:07:32 +00:00
attila c27b831927 use -mixer with alsa9
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
2004-01-10 09:10:52 +00:00
gabucino fadce2d781 many small typo and grammar fixes
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
2003-10-04 17:29:08 +00:00
attila 81e60cd6bb patch from Pierre Lombard <p_l@gmx.fr>
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
2003-09-21 09:49:05 +00:00
alex db4bf6023c 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10660 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-18 13:39:07 +00:00
joyping 9646f76179 no channels moving, autosubdievice, nonsupported fix by Vladimir I. Umnov <uvi@ezmail.ru>, removed braindeaded startup message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10624 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 18:02:24 +00:00
alex 381b2109c6 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10606 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-14 01:25:42 +00:00
alex 31d2778fc6 better pause mechanism and faster uninit support by Vladimir I. Umnov <uvi@ezmail.ru>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10515 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-03 17:54:35 +00:00
alex 64885ae175 removing my (non-working) email address
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10367 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-03 20:07:54 +00:00
alex ca78cf2743 -ao alsa9:hw:0,0 fix by Wojtek Kaniewski <wojtekka@bydg.pdi.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10259 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-08 04:03:59 +00:00
alex d65c8518de 64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9634 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-21 16:42:50 +00:00
henry ff88b3588b replace snd_pcm_drain with snd_pcm_drop
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9588 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-14 20:36:26 +00:00
filon c7c41db7ca Workaround for returning very litte buffer space.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8875 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-10 18:28:18 +00:00
arpi 61ecf838f2 OK, I think I found why the alsa9 driver was breaking surround sound.
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
2002-12-04 22:01:59 +00:00
arpi 4d31c3c53d The enclosed patch should fix problems associated with playing 8-bit wide
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
2002-12-04 21:42:22 +00:00
henry cb3ab03342 warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8037 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 10:59:27 +00:00
arpi 39fe4d0cd3 verbose can be negative
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 17:46:45 +00:00
arpi f12673921c fixed ao_data.bps - patch by Tobias Diedrich <td@sim.uni-hannover.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7658 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 19:21:35 +00:00
joyping 325311af33 iec958-init completly rewritten
some debug printfs cleaned


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7078 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-23 13:03:00 +00:00
joyping 89ed1748ae changed spdif default from "hw:0,2" to general alias "iec958"
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
2002-08-20 14:15:25 +00:00
joyping 5bafd479ae added real mmap support
support for -abs opt, 4 different modes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6750 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-18 16:09:54 +00:00
joyping 51b5404658 fixed spdif
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
2002-07-11 10:20:54 +00:00
joyping a678a1018a cVS: ---------------------------------------------------------------------
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
2002-07-03 21:43:28 +00:00
alex 4f40ec312c cleanup and bufferhandling fix by Joy Ping <joy at pingfm.org>. 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
2002-06-28 16:48:10 +00:00
alex 5baeafa938 removed unused controls
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6195 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-26 12:30:54 +00:00
alex 7b6fd7077b AC3 passthrough support by Andy Lo A Foe <andy at alsaplayer dot org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6194 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-26 12:23:19 +00:00
atmos4 cfcbc26945 10l pl =)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5858 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-27 08:38:33 +00:00
pl b509c4a94a fix for latest alsa (sys/asoundlib.h has been moved to alsa/asoundlib.h)
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
2002-04-27 01:25:32 +00:00
arpi ceda76523a AFMT_AC3 autodetect/fallback to S16
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5791 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-22 22:33:06 +00:00
anders bd1cda3d8c Parse bug fixed (I hope)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3136 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 02:16:01 +00:00
arpi 82adc24b1f ao_subdevice fixed. 10l...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3130 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 00:49:39 +00:00
anders 242aa6ebd4 interface to libao2 changed ao_plugin added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3096 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 05:21:22 +00:00
arpi 7b08e653c6 applied patch by Joy Winter <joy@pingfm.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2210 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-15 11:17:19 +00:00
pontscho ead17b2339 alsa9 pecs by joy_ping <joy@pingfm.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2060 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-03 18:09:51 +00:00
al3x d39f5c5962 ao_subdevice support added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1208 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-23 18:59:54 +00:00
al3x 355ed5453c added warning message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1181 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-21 21:27:56 +00:00
al3x a71f146139 hacked aocontrol_set_device working, and cleaned up a bit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1147 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-17 17:44:56 +00:00
al3x 2d2e0932a0 hacked to work seek/pause/resume/uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1130 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-14 18:29:05 +00:00
atmosfear 0674db5afc Hacked it working, still needs fixings!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1129 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-14 18:00:13 +00:00
al3x 178105b657 -Wall style cleanups, TEST IT, it can be working by others
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1116 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-12 15:42:21 +00:00
arpi_esp 0b3d0c82a7 fixed AFMT_ stuff (inclue afmt.h)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1059 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-08 23:31:06 +00:00
al3x b5795a70fe first release, meg nem akar menni :(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1051 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-07 15:43:47 +00:00