Commit Graph

330 Commits

Author SHA1 Message Date
henry df2e49d51c additional formats - 8bit & float
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12571 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-11 15:20:49 +00:00
reimar 9a43e3adbe support for 24 bit pcm/wav files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12479 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-16 10:48:59 +00:00
reimar 1499a0df6f removed #ifdefs that are already handled by libao2/afmt.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12477 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-14 21:16:00 +00:00
joyping 010e3cc77f alsa9/1.x merge, now with api_compat-definition
printfs converted to mp_msg, thanks to adland <adland123@yahoo.com>
gcc 3.4 fix, undefined label at end of case statement
default device is now 'default' instead of hw:0,0. so users are able to
set their own defaultdevice (dmix) in asoundrc.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12466 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-12 22:56:55 +00:00
joyping 616ae6dc6c changes for alsa9/1.x-merge only alsa
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12463 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-12 22:48:15 +00:00
reimar 138013ca3f use fallback for unsupported formats instead of quitting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12441 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-07 16:12:30 +00:00
rfelker c4282b3cfe ok this one is beyond stupid. the code didn't even do what was intended
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12384 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 19:43:59 +00:00
faust3 35d058bcca restore original ringbuffer constants as the current values are causing heavy stutter here, especially noticable after moving the video window
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12156 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-07 22:27:33 +00:00
faust3 a07c26e7dd round len to outburst and increment full_buffers at the correct time, patch by Nehal <nehalmistry at gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12152 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-07 17:53:42 +00:00
faust3 6835ae9345 10l, patch by Bjoern Sandell
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12149 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 20:06:57 +00:00
faust3 134d571014 support immed flag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12147 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 18:06:20 +00:00
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
faust3 c037eb48d0 restore old SAMPLESIZE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12114 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-03 14:39:16 +00:00
rathann bfec283536 - compilation error fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12110 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-03 10:46:52 +00:00
atlka 9de08fa0eb ALSA syc is not so good as OSS - small corrections
added Motif hints memorizing before switching to full screen because
WM can modify decorations of the app window


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12097 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-01 20:59:07 +00:00
faust3 591a524fbf let uninit wait until sound is completely played, don't restore volume at exit, fixed ringbuffer bug, patch by Nehal <nehalmistry at gmx.net>\n
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12094 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-01 19:33:58 +00:00
alex f742ec3aa7 10l (some broken compilers take this serious)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12087 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-31 07:40:36 +00:00
diego fd8b9bb23f Cygwin provides setenv. Fixes compilation on Cygwin.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12028 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-15 05:07:46 +00:00
ranma 578af24bb4 Use MultiplyElement to control volume.
Works with multiple videos at the same time and even
when NAS does not control the mixer or it is unavailable.

Show buffer underrun hint only once and add missing linebreaks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12023 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-13 21:54:35 +00:00
faust3 b3372bc0d0 fix compilation with sdl on mingw patch by Nehal <nehalmistry at gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12020 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-13 16:25:08 +00:00
henry 8c55d85a17 replace set_periods and set_period_size with their _near cousins
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12004 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-27 17:03:08 +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
attila a4ac1dc9a4 add option to select mixer channel
patch by Catalin Muresan <catalin.muresan@astral.ro>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11838 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-24 11:53:52 +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
diego 0254ba85f5 URL updated.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11751 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-05 21:49:23 +00:00
diego 6445f83deb occured --> occurred typo patch by Clinton Roy <croy@dstc.edu.au>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11679 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-24 22:00:51 +00:00
attila 5cd067e6a0 This patch contains bugfixes for the esd audio output driver that I
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
2003-12-10 12:19:13 +00:00
joey 7afe24f691 original config:
> 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
2003-11-23 17:04:19 +00:00
diego 34911f6570 A-V sync fix by Timo Kanera <timo@kanera.de>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11324 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-30 00:08:06 +00:00
attila ffb529e4eb 64bit types fix by a unkown mandrake 64bit expert
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11271 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-26 13:43:30 +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 39bdf999e9 IRIX support by Timo Kanera <timo@kanera.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10839 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-07 18:15:47 +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 c0298b66cd Set close-on-exec after newer open (in reset func). Patch by Andriy Gapon <agapon@cv-nj.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10601 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 21:04:15 +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
attila 55d8bdddb3 fix bps calculation when resampling,
patch by Marcus Comstedt <marcus (at) mc.pp.se>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10326 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-22 21:29:15 +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 177619f50f esd:server and esd latency support by Andrew Williams <andrew.s.williams@adelaide.edu.au>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10214 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-30 18:15:59 +00:00
alex 13fd5a7fca do it the standard way (tm)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10160 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-23 12:37:58 +00:00
alex c911f58ae6 cleanup/cosmetic patch by the author :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10153 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-22 16:12:54 +00:00
alex ecf10a4138 Native MacOSX audio output by Dan Christiansen <danchr@daimi.au.dk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10148 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-21 21:15:46 +00:00
faust3 b28f1fb6e5 10l remove unused global
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10107 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-16 13:06:37 +00:00
ranma e6c118b982 Correct dumping hint (vc dummy faster than null).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10078 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-05 23:43:30 +00:00
alex d38968bd0e 10l to arpi with commit r1.12, noticed by Daniel Mario Vega <dv5a@dc.uba.ar>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9671 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-23 18:19:08 +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