Commit Graph

351 Commits

Author SHA1 Message Date
ivo 0f9f4caba4 mp_msg transition of unmaintained audio output drivers.
Patch by Reynaldo H. Verdejo Pinochet <reynaldo at opendot dot cl>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13384 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-18 20:31:28 +00:00
faust3 40a0c7778d untested multichannel support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13018 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-14 10:03:26 +00:00
diego b233aff173 Update ao_jack for new bio2jack API, improve check in configure.
Patches by Andre Kuehne and Ismail Dönmez.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13013 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-13 00:33:14 +00:00
diego 73c212608f embarassing typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12985 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-09 23:53:37 +00:00
reimar 4deb67c3fa Use = instead if # in ALSA device name, as # irritates our config-parser.
Original patch by stan (at) saticed (dot) me (dot) uk


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12920 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-30 16:15:06 +00:00
reimar bb98df0456 automatic loading of af_volume, original patch by Dan Christiansen (danchr (at) daimi (dot) au (dot) dk)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12909 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-28 12:17:50 +00:00
joyping e178b25151 removed status in debug_msg as it is nonsens anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12820 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-14 15:46:33 +00:00
joyping 31b88697d4 volume calc fixes for mixer, by reimar döffinger, 10l reverse by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12812 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-14 00:48:26 +00:00
joyping d7ad1015c1 fixes provided by reimar dörfinger. mixer, subdevice parsing, alsa#help,
set chunksize, others.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12806 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-13 15:47:16 +00:00
faust3 a97b5a5285 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12796 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-11 13:43:43 +00:00
nplourde 2f212bafee ao_macosx is fixed, moving it back to top
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12793 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-10 20:56:25 +00:00
nplourde fbfda67d7c enables resampling of audio in ao_macosx by Dan Christiansen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12789 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-10 00:23:19 +00:00
joyping 319dfbad80 string, alloca etc. fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12748 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-02 04:30:46 +00:00
diego 1186efdbd4 Let's keep the full functionality for the release, we can switch this off
when we have found a nicer automatic solution for -af volume.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12715 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-28 14:18:47 +00:00
reimar 5247aa3a18 1000l in GET_VOLUME. Fix by Lu Ran, hephooey (at) fastmail (dot) fm.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12703 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-27 13:18:06 +00:00
faust3 1beb447670 10l WAVE_FORMAT_DOLBY_AC3_SPDIF needs to be defined first, patch by Gianluigi Tiesi <sherpya at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12700 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-27 11:19:11 +00:00
faust3 1c6b68ba4d ac3 passthrough, initial patch by Gianluigi Tiesi <sherpya at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12685 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 11:20:20 +00:00
alex 309e81bcee make the internal sdl mixer optional, idea by Reimar Doffinger
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12674 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 09:21:07 +00:00
alex f6a749eff0 JACK audio support through bio2jack by Kamil Strzelecki <esack@o2.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12663 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 18:11:15 +00:00
alex f7d64b75ec move macosx in the priority list after sdl, patch by Dan Christiansen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12637 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 14:52:04 +00:00
alex 0fc20ac930 ranlib cleanup by Dan Christiansen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12633 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-24 12:52:17 +00:00
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