Commit Graph

29 Commits

Author SHA1 Message Date
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