Commit Graph

600 Commits

Author SHA1 Message Date
cladisch 508d589e21 This adds support for more sample formats (U32, float BE, mu/A-law).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17572 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:20:08 +00:00
cladisch 7bb5f4e138 This replaces the hardcoded numbers for the sample format widths with a
call to snd_pcm_format_physical_width().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17571 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:18:27 +00:00
rathann e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +00:00
diego 89d549f984 Make clean/distclean behave uniformly in all directories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
rathann 2601de4120 massive attack: mp_msg printf format fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-12 20:04:36 +00:00
al fa2d1c9a69 - move our setenv() fallback implementation to osdep
- assert that the override param is nonzero (zero is not implemented)
- correct return value type to int

based on a patch by Diego
fixes bugzilla bug #342


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17246 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-26 03:16:48 +00:00
wanderer dd75eef3f3 use snd_mixer_selem_set_playback_switch when muting ALSA, patch by Matthias Lederhofer <matled -at- gmx dot net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17195 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-15 17:50:29 +00:00
rathann 637ef4ab74 fix
ao_alsa.c:115: warning: suggest parentheses around assignment used as truth value


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17098 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:31:03 +00:00
ranma c01054baac Link was a bit dated (but still working :-))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17065 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-29 19:53:05 +00:00
diego 491ff4b705 -aop is long obsolete.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17059 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-28 23:43:24 +00:00
diego 56770b6eef Unify include paths, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17021 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-19 14:35:45 +00:00
joey 35d0962444 DirectSound's GetVolume and SetVolume use 100ths of decibels and range from -10,000 to 0.
MPlayer uses a linear intensity value between 0.0 and 100.0.
This patch converts the values properly rather than simply linearly mapping the range.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16973 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-11 03:07:01 +00:00
albeu 1f1fc11b84 Allow setting the mixer per instance so one can fallback between
several oos device and still have correct mixer settings all the
time.
The sytax is now: oss[:dsp_device[:mixer_device[:mixer_channel]]]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16960 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 09:02:56 +00:00
diego 8723503a71 ao_macosx is a native audio output driver and should thus have priority
over non-native outputs drivers like ao_sdl and the like.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16733 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-11 23:07:53 +00:00
reimar 42f5436396 General bug fixes, like missing includes, formats that were incorrectly
claimed to be supported etc. Patch by dega (dega quickclic net)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16668 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-04 22:23:51 +00:00
henry 99bd394969 reordered bps calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16310 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-25 21:46:32 +00:00
henry 4b40fd60f0 set the nearest number of channels, return(0) upon errors
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16309 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-25 19:57:32 +00:00
reimar 7ddba02880 name suboption for jack to set client name
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16254 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-18 09:40:59 +00:00
reimar 252d940dd8 Set block_align in header, seems MatLab can not handle files without.
Patch by Pedro Larroy Tovar (pedro at larroy dot com).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16244 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-17 11:27:11 +00:00
reimar 219578d73d reset estimation also on too negative diff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16141 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 17:11:22 +00:00
reimar 897390ed1e improved audio delay estimation, supposed to help make the video smoother
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16105 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 10:47:29 +00:00
nplourde f8f3683a37 remove delay when setting audio volume
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16015 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-19 14:36:13 +00:00
alex a1af27beb4 QUERY_FORMAT support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15899 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 11:38:35 +00:00
reimar 6dad56fda6 avoid hang when playing more than one file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15869 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 13:25:08 +00:00
nplourde 0bbc7905c9 more general ao_macosx cleanup. Patch by Alexander Strange <astrange@ithinksw.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15854 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-29 18:17:19 +00:00
gpoirier 9dd8f241ac adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:07:35 +00:00
ranma 2098665b8d Be more patch-friendly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15773 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 22:52:55 +00:00
ranma bad644cced Fix email address
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15756 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 09:17:44 +00:00
ranma a73a629c1b Add missing range checks so we won't overflow the buffers, thanks to Erik Auerswald for noticing this problem
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15742 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-17 02:22:34 +00:00
nplourde 585a341c94 removes the use of AudioConverters. patch by Alexander Strange <alexander.strange@ithinksw.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15723 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-14 12:41:42 +00:00
nplourde f7169a98e8 Mac OS X Audio with AudioUnits and AudioToolbox format converters, Patch by Chris Roccati<roccati@pobox.com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15647 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-05 14:47:26 +00:00
reimar e28660bc1d Create a unique client name so that multiple instances work.
Patch by Jason Tackaberry (tack sault org)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15642 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-05 08:37:48 +00:00
reimar 86965bebad Fix latency calculation and buffersize setting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15631 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-03 20:35:07 +00:00
reimar fc65974c7c New ao_jack without bio2jack dependency.
Since I rewrote ao_jack.c from scratch, the diff is unreadable, sorry.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15606 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-01 09:20:46 +00:00
nplourde eaa8e3bcb6 simplifies the format matching logic. Chris Roccati <roccati@pobox.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15487 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-16 00:16:43 +00:00
nplourde 781402e06d indicate the number of channels required, patch by Chris Roccati <roccati@pobox.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15449 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 01:14:58 +00:00
rathann e3b183dc3f - fix gcc warnings, strlcat/strlcpy prototypes
- fix bad sscanf usage in geometry.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15059 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-06 11:57:10 +00:00
diego 5ccb65c46c endianness fix by Chris White <chriswhite at gentoo dot org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15010 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-25 15:11:13 +00:00
faust3 a8941ce3eb get_space fix by Florian Dietrich <flodt8 at yahoo.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14948 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-15 16:29:18 +00:00
nplourde 56753f0ae7 do not always request little-endian despite the actual sound format. by Alexander Strange - astrange@ithinksw.com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14904 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 13:46:54 +00:00
reimar 95cf851ea6 aos should respect the immed uninit flag (quit immediatly vs waiting till file
is played to end).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14850 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 23:06:32 +00:00
ivo 01191a8392 Have OSS audio out fall back to s16ne instead of u8 if it can't open the
soundcard for 3+ channels and do it for all audio streams (not only AC3).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14835 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-26 23:03:53 +00:00
nplourde d5268a94fc rids ao_macosx of the buffer mutex by using the same buffering scheme as ao_sdl - Patch by Reimar Doffinger
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14770 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-22 20:54:31 +00:00
faust3 b08e2e7c08 bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14643 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-04 18:31:04 +00:00
alex c95c1533a1 unused definitions removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14619 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:18:31 +00:00
reimar 3b1f8fda2b Typo in hwac3 string
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14613 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-30 09:16:41 +00:00
reimar 9aeba3298a print "Unknown/not supported internal format" message only with -v as it
is not an error.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14610 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-29 12:58:16 +00:00
reimar 20817ae85e Fixed the syntax of the spdif device string.
Thanks to Takashi Iwai for the hint.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14607 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-28 10:12:28 +00:00
faust3 4643b6100a support immed flag, always initialize write_offset, min_free_space doesn't seem to be required anymore after Florian Dietrichs patches
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14556 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-21 13:22:59 +00:00
reimar 64489b4d0c use MSTRZ suboption type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14540 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-19 17:18:25 +00:00
faust3 05d61f2f62 WAVE_FORMAT_DIRECT seems to cause problems with certain os/driver combinations and seems to be useless anyway
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14530 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-17 21:19:59 +00:00
faust3 059bb3d52b print why waveOutOpen failed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14504 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-15 19:27:00 +00:00
reimar 69d65e59de actually mp_msg.h includes config.h, but for consistency better include it
explicitly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14481 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-12 22:07:44 +00:00
reimar fa8c50d4cf af_format.h needs config.h to be included first.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14480 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-12 22:00:02 +00:00
reimar 40b127ae8d Cleanup, removing internal conversions. Testing welcome.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14410 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 22:56:54 +00:00
reimar 0ec7a2ca21 Use AF_FORMAT_S16_NE instead of #ifdef WORDS_BIGENDIAN ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14405 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 17:35:43 +00:00
faust3 5817da7f59 device selection support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14399 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 13:31:02 +00:00
reimar 92f7267851 Check for every 24 and 32 bit AFMT_ separately if it is defined.
Patch by Walter Haidinger walter dot haidinger at gmx dot at


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14398 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 13:15:53 +00:00
alex a15b71dff5 unused parts removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14390 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 11:01:28 +00:00
reimar bf4f28d583 Use the subopt-helper for parsing suboptions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14329 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-03 14:23:18 +00:00
reimar 60f4241a6d Default to audiodump.pcm with nowaveheader again, but document it in the manpage this time.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14328 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-03 14:16:07 +00:00
arpi 4b5ea19c8b many 10ls fixed... also better debugging
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14318 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-03 03:34:18 +00:00
reimar 47d716f101 Do not use strndup, it is missing on MinGW.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14302 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-02 16:39:03 +00:00
faust3 61780877b5 missing ;
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14301 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-02 16:01:36 +00:00
reimar eca47b1a5e Add -ao pcm suboptions and remove -aofile and -waveheader options.
Base on idea by Olivier Rolland (billl at users dot sf dot net)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14299 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-02 14:41:47 +00:00
arpi f18153ca99 rate/format matching and volume get/set support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14291 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-01 03:51:08 +00:00
alex 3fe168658a more verbose messages
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14274 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 19:26:01 +00:00
alex 14a29762f2 af_fmt2str_short
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14265 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 19:11:14 +00:00
rtognimp 3fda49a8cb 100l set default format for AF_FORMATs not supported by sound card
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14261 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 01:59:12 +00:00
reimar 91aae0d538 100l, buf etc. in af_fmt2str call are already pointers...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14256 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 19:43:13 +00:00
reimar 0fdaa5ab30 Do not use audio plugins anymore
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14255 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 19:34:42 +00:00
alex 8749400133 10l, nasty ao drivers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14253 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 18:16:55 +00:00
alex 646a2a2e37 maybe now..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14252 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 18:14:03 +00:00
alex 4d7d3bf2c0 hopefully final fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14250 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 18:10:30 +00:00
alex bfcc5bc82b 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14248 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 17:49:52 +00:00
alex 507121f7fe removing AFMT_ dependancy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 17:30:15 +00:00
faust3 ecb5105a2c disable all unknown formats in the windows aos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14136 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-08 09:52:55 +00:00
diego d28f15f9fc Remove duplicate includes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14125 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-07 02:30:09 +00:00
diego 67a1fd4053 Make include paths consistent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14124 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-07 02:24:15 +00:00
ranma b37da8c945 Compile fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14057 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-28 10:18:01 +00:00
reimar cd72d2f203 Improved A-V sync, patch by Ed Wildgoose [lists(at)wildgooses<dot>com].
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13890 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-07 11:03:50 +00:00
reimar 2f4593d56b respect immed uninit flag, initialize ao_data.outburst.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13888 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-06 22:33:17 +00:00
faust3 6df6757e38 polyaudio audio driver patch by Lennart Poettering <mzzcynlre at 0pointer.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13879 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-05 14:02:41 +00:00
reimar af34f791a7 Different buffering scheme, avoiding possible races (SDL is using threads!).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13833 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-31 21:02:47 +00:00
reimar 941fa2881c FreeBSD compilation fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13742 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-23 18:26:04 +00:00
faust3 412b37082f ringbuffer variable intialization fix for multifile playback patch by Rune Petersen <rune.mail-list at mail.tele.dk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13736 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-22 12:43:34 +00:00
faust3 ae746ad8e8 channel reorder patch by Florian Dietrich <flodt8 at yahoo.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13675 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-18 19:23:13 +00:00
reimar efeaeab3c4 Only use S/PDIF output when no other alsa device is set, allows to use
external ac3 decoders.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13662 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-17 20:03:55 +00:00
nplourde 8d5af4018f Fix incompatibility with audio devices with more then 2 channels
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13652 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-16 00:56:40 +00:00
faust3 e652c2fe8a ao dsound improvements patch by Florian Dietrich <flodt8 at yahoo.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13641 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-14 13:03:03 +00:00
reimar 95efc9ce47 fixed small memleaks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13633 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-13 16:22:59 +00:00
alex 51974735e9 unsinged 32 and 24bit types
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13566 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-05 19:18:22 +00:00
alex 41cd2f8d7d fixing authors
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13550 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-04 19:07:09 +00:00
alex 83c1543028 introducing 24bit formats and make the values compliant to OSS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13549 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-04 19:05:16 +00:00
reimar 6e4d643f3c removing ao_alsa9.c and ao_alsa1x.c as they are superseded by ao_alsa.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13543 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-04 15:10:33 +00:00
reimar ac7f335995 fixed small memleak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13521 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-01 19:51:03 +00:00
diego 74699e3992 printf --> mp_msg conversion in ao_plugin
patch by Reynaldo H. Verdejo Pinochet <reynaldo at opendot dot cl>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13468 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-25 22:18:41 +00:00
faust3 b8c0aed043 directsound audio output plugin, patch by Gabor Szecsi <deje at miki.hu> some minor modifications by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13461 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-25 15:34:42 +00:00
reimar d6100972a5 allow to select an alsa mixer channel index.
Patch by Eric Yagerlener [eyager (at) chartermi (dot) net].
Applied with slight modifications, see also bugzilla bug #69.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13435 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-22 14:12:53 +00:00
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
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
faust3 5ae779673c fix -loop problem
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9590 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 10:11:36 +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
ranma d5d89cca6a Fix small memleak in control().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9584 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-14 17:19:19 +00:00
arpi d06f9b725e 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9412 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-12 23:26:12 +00:00
arpi 7a35f528d1 The "initialize wav header with infinite lenght" broke the
post-recording fixup by changing the initialisation value of
data_length.  This fixes it.
based on patch by Olivier Galibert <galibert@pobox.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9278 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-04 18:22:43 +00:00
arpi 0adfd9ae76 hwac3 fix
bugrep & testing by Stefan Baehre <ste.ba@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9266 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-03 23:30:27 +00:00
arpi 32ed76c8c4 temporary 'inifinte' length disabled (commit r1.13 reversed) due to user
compalints


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9224 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 16:34:54 +00:00
arpi ca0263659f compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 02:42:59 +00:00
arpi 2b8643963c double free(), found by Olivier Galibert <galibert@pobox.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9157 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 12:22:00 +00:00
arpi 23015ad574 nice 10l bug, found by Balatoni Denes <pnis@coder.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9142 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 17:25:53 +00:00
arpi 40789473d2 When the file is not finished to be written,
it has a temporary length of 0. It is more logical to
write an infinite length. (sox does this)
patch by Alain Daurat <daurat@tiscali.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9027 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 16:49:02 +00:00
arpi a555841ab1 10l :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8980 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 01:06:05 +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 a83c899996 10l
noticed by Joe Barnett <sanchezthecactus@yahoo.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8849 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-09 09:27:51 +00:00
colin c619dbbb5b (nicer) endianness fix for every plugin except pl_format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8742 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 15:12:18 +00:00
colin 9b483e615e trivial endianness fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8741 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 14:51:49 +00:00
colin 54eac2e3cf trivial bigendian fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8740 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 14:49:02 +00:00
diego b5d25351fe Rearrange the vo and ao driver order to prefer the native drivers and give
a better out of the box experience on Cygwin.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8730 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 05:10:44 +00:00
faust3 9a7aac86cd 10l fixes sync?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8658 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 13:52:29 +00:00
rathann 84834e9d34 Added/reordered #includes to silence warnings about "implicit declaration".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8624 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 18:51:10 +00:00
arpi bd814ee879 ao_oss was not using the channel & format returned by the soundcard
for ao_data.bps calcualtion - hence fscked up av sync if soundcard didn't
support a number of channels or audio format.

patch by Balatoni Denes <pnis@coder.hu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8604 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 13:45:04 +00:00
arpi 2e399f394d DVB-HEAD (aka. NEWSTRUCT) detection & support
patch by Dimitrios Dimitrakos <mail@dimitrios.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8595 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 12:04:58 +00:00
jkeil 03e3deb95c - Fix 8-bit sound in arts audio driver (logic in OBTAIN_BITRATE macro was
broken)
- arts server always expects 16-bit sound in little endian byte order, even
  in the case the artsd server runs on a big endian machine.  Make sure that
  mplayer's audio filters convert the samples into one of the arts supported
  sound formats.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8577 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-27 16:35:29 +00:00
jkeil a24ab94f06 Oops, missing Makefile in the esd audio driver check-in; libao2 Makefile needs
esd include flags


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8575 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-27 16:20:02 +00:00
jkeil 30c23e4946 new EsounD audio driver (-ao esd)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8573 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-27 16:02:57 +00:00
arpi b987127e0e compiler warning fixes
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 17:56:35 +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
rfelker 837893b654 1l, opposite meaning of what's intended!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8305 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-28 16:15:13 +00:00
rfelker 0ca2d2a80b avoid giving a /dev/dsp fd to child processes!!
(menu exec, xscreensaver nonsense, etc)
other parts of mplayer should be fixed like this as well!


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8304 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-28 16:14:08 +00:00