Commit Graph

597 Commits

Author SHA1 Message Date
uau 2ad89c5956 Move mpeg aos to the end of the autodetection list. At least mpegpes
should be there since it now works without the corresponding vo but is
not a particularly good ao overall.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19415 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-16 20:04:43 +00:00
ivo 51d4c32446 replace calls to perror() with calls to mp_msg()
this will shut up mplayer -realy-quiet. ao_mpegpes is the first ao that is
tried and will almost always fail (unless you have the right hardware)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19368 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-11 17:10:57 +00:00
ben 6e33f2b9ad added audio output for ivtv cards
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19229 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 21:36:03 +00:00
nicodvb 8154069fad if HAVE_DVB isn't set don't fall back to outputting audiograb.mpg by default, fail instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19227 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 21:15:31 +00:00
nicodvb b41f28a54f include sys/poll.h only when HAVE_DVB[_HEAD] is set
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19220 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 15:40:05 +00:00
diego 22b5b6d0f5 Unify include paths in the build system, part I.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19195 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 10:08:17 +00:00
nicodvb 01aa3fd1be split the incestous intercourse between ao_mpegpes and vo_mpegpes; now the devices can be used separately
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19189 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-26 21:40:43 +00:00
ben f5b338b852 use mpeg packetizer helpers for sending lpcm packets
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19169 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 10:10:06 +00:00
ben 0c540410fe use new mpeg_packetizer helpers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19156 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-22 10:39:00 +00:00
diego f7d4dd174b OPTFLAGS already includes EXTRA_INC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:58:07 +00:00
diego 02a3a41923 Use only one global config.mak file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19039 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:28:14 +00:00
diego e364249f21 Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 16:01:36 +00:00
reynaldo 03485211a9 two variables are made static, one of them additionaly modified to const char*. Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18971 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 03:50:47 +00:00
reynaldo 96565761f1 make prefix const. Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18970 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 03:42:35 +00:00
reynaldo f50e7ffca9 modifies function declarations without parameters from ()
to the correct (void). Only files in libao2 are affected.

patch by Stefan Huehner stefan AT huehner-org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18920 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 04:30:19 +00:00
reynaldo 8f65768bf2 rm unnecesary casts from void* - part 4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18890 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 13:21:54 +00:00
pacman b483d64bc0 Respect AOPLAY_FINAL_CHUNK
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18846 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-28 19:22:27 +00:00
reimar 6e809b6f52 respect AOPLAY_FINAL_CHUNK and do not discard samples read from buffer
on underrun.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18812 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 09:02:47 +00:00
reimar 6811f8c042 remove unused variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18811 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 08:53:13 +00:00
uau bd4a9d25bf Rewrite audio EOF handling logic fixing some problems that could cause
truncation of output, set flag AOPLAY_FINAL_CHUNK in play call to tell
ao there will be no more data beyond what's in current buffer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18738 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-16 21:52:25 +00:00
diego 4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
diego 5115aa181d Only set the default output filename when it was not passed on the command
line.  Noticed by Corey Hickey.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18501 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-14 10:21:56 +00:00
rathann 9a6953a891 Fix:
ao_polyp.c:74: warning: implicit declaration of function ‘strcspn’
ao_polyp.c:79: warning: implicit declaration of function ‘strncpy’


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18491 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 21:01:05 +00:00
diego 3de60f8ff7 Move setting the output filename after the suboption parsing, otherwise it
cannot take the suboptions that were set into account.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 19:04:39 +00:00
reynaldo 3a406e94d7 Get ride of the several if(identify) messy lines and rearangment of some of the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 07:20:34 +00:00
reimar 86b0871127 -ao pcm:fast suboption for faster-than-realtime dumping
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18093 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-14 13:18:35 +00:00
cladisch e7941a0ef3 Add workarounds for old prerelease versions of alsa-lib 0.9.0 that did
not allow reading the buffer boundary value.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18010 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-31 09:28:37 +00:00
reynaldo bf25812a43 Part1 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17995 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 06:40:58 +00:00
diego 37221f9b74 printf --> mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17934 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:21:40 +00:00
diego eebf08b978 Convert all if(verbose>X) to mp_msg_test calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
cladisch b263a6618e To avoid a bug in ALSA's rate plugin that causes spurious overruns, try
to disable it so that mplayer's resampler is used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17850 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 10:50:37 +00:00
cladisch 6bab259faf Do not try to count hardware sound cards because there might be none
when using a software plugin for JACK/OSS/Polypaudio/Bluetooth/etc.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17849 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 10:49:12 +00:00
cladisch 6ccd999a89 Output error messages from the ALSA library through mp_msg() instead of
the default stderr.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17692 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-27 10:09:05 +00:00
cladisch 434f6b2347 Show the actual ALSA version instead of the version mplayer was compiled
with, if possible.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17691 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-27 10:06:27 +00:00
reimar 86e6ef0ca1 include stdlib.h and stdio.h, they tend to be useful :-)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17645 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 12:45:00 +00:00
aurel acf99ed75b fix compilation without openal
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17635 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 22:35:04 +00:00
reimar 8424c24317 OpenAL audio support, actual output is mono-only (no positioning yet).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17634 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 20:45:25 +00:00
cladisch 7673cbf6a7 Fix the error handling in the play() function: add a handler for EINTR,
improve the reporting of other errors, and don't try to call
snd_pcm_writei() repeatedly when it aborts after a partial write due to
an error.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17622 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:48:29 +00:00
cladisch 7d319f4b75 This changes the software parameters to be more compatible with the
behaviour of the OSS driver.  This implies that underruns are not longer
reported.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17621 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:43:25 +00:00
cladisch 0fc0814fcd Using non-blocking writes makes sense when the program wants to do other
things instead of waiting for the device to become ready.  However, just
calling snd_pcm_wait() is identical to blocking mode, so we can just as
well remove support for non-blocking writes.

Besides, the waiting code was never actually used because play() is
never called with more data than reported by get_space().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:38:12 +00:00
cladisch 1328f3731c Remove the now superfluous mmap suboption.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17619 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:17:43 +00:00
cladisch 7f9397276b After removing play_mmap(), the play() function just unconditionally
calls play_normal().  This indirection is now superfluous.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17618 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:16:29 +00:00
cladisch cc8359e4e8 This patch removes mmap support because it doesn't have any benefit.
Directly accessing the sample buffer makes sense only when the samples
can be constructed in-place.  When the samples are just copied from
another buffer (as is the case with libao2 drivers), the code to copy
those samples is just a reimplementation of snd_pcm_writei(), so we
could as well use that function.

Besides, the current mmap code does not work except in the most simple
cases: it claims to support non-interleaved and complex sample formats,
but treats them the same as interleaved formats and writes to the wrong
memory location.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17617 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:15:25 +00:00
cladisch ddfe8e253e Small fixes: make all global variables static, remove some unused
variables, and remove the unused dir parameter from set_xxx_near()
calls.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17576 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:28:08 +00:00
cladisch 18ca43b048 Remove a call to snd_pcm_prepare() because snd_pcm_hw_params() does it
automatically, and remove a call to snd_pcm_drop() because
snd_pcm_close() does it automatically.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17575 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:26:11 +00:00
cladisch a25341464c Simplify get_delay(): we don't need to get the complete PCM status but
can call snd_pcm_delay() directly.

To avoid the audio device appearing to be running too fast after an
underrun, ignore any samples that were lost in an underrun.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17574 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:24:48 +00:00
cladisch 689c7b37a2 Fix get_space(): we don't need to differentiate between the various PCM
device states, and there is no need to avoid returning a positive value
less than 1024.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17573 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:21:17 +00:00
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