cboesch
fe3c4810e1
cleanup: remove NULL checks before free() all over the code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-14 13:11:20 +02:00
reimar
c640b92bdd
ao_sun: Add support for AOPLAY_FINAL_CHUNK
...
Reportedly this also fixes a possible hang at the end of playback
(shouldn't happen unless delay reporting is broken too).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32509 b3059339-0415-0410-9bf9-f77b7e298cf2
Reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32510 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:18:37 +02:00
Uoti Urpala
00323c06e2
Delete things related to old translation system
...
Remove the help/ subdirectory, configure code to create toplevel
help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
2010-03-10 03:47:14 +02:00
Uoti Urpala
5234c72e28
Restore collapsed whitespace in output messages
...
For some reason commit e306174952
, which
replaced translation macro names with the corresponding English
strings, also collapsed multiple consecutive space characters into
one. Change most of these back. In a couple of cases the amount of
whitespace is important for alignment, and for the rest it at least
keeps the strings closer to the existing translations.
2010-03-07 21:34:54 +02:00
Uoti Urpala
0eb321bf2c
Remove trailing whitespace from most files
2009-07-07 02:34:35 +03:00
Amar Takhar
e306174952
Translation system changes part 2: replace macros by strings
...
Replace all MSGTR_ macros in the source by the corresponding English
string.
2009-07-07 01:38:20 +03:00
Amar Takhar
b5972d6f14
Translation system changes part 1: wrap translated strings
...
Replace mp_msg() calls which have a translated string as the format
argument with mp_tmsg and add _() around all other translated strings.
2009-07-07 01:28:07 +03:00
reimar
d6bf2e318e
Make ao_info_t structs const.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28858 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 19:43:12 +00:00
reimar
0ef6b6a546
Move resetting audio_info_t samples, eof and error in ao_sun.c to reset(), avoids
...
duplication code from init() and fixes hangs after seeking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28689 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 13:37:47 +00:00
diego
c1cd81818a
Add standard license headers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28378 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 15:06:44 +00:00
reimar
9623100d13
reset() should not senselessly close and reopen
...
the device but instead just call flush_audio()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26345 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-07 17:39:41 +00:00
reimar
885709eadd
AUDIO_DRAIN makes no sense directly after opening
...
the device, but it should be done in uninit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26344 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-07 17:32:44 +00:00
reimar
f0ca74bd86
Fix r23353, it broke ao_sun on non-BSD due to accidentially removing
...
a return ao_data.outburst;
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23613 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-23 18:16:14 +00:00
reimar
29362964bb
Move common ioctl outside of ifdef
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23354 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 12:20:03 +00:00
reimar
2764ff21db
Clean up some unused code and #ifdef mess in ao_sun.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23353 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 12:15:16 +00:00
reimar
31a82e6b0e
Implement flushing of audio data. Fixes bug #754 .
...
Based on patch by Sergey Svishchev (svs ropnet ru).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23352 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 12:05:16 +00:00
reimar
02424fa21f
Remove unused code, if it is ever needed it can be recovered from history
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23350 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 08:15:27 +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
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
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
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
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
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
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
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
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
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
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
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
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
arpi
39fe4d0cd3
verbose can be negative
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 17:46:45 +00:00
jkeil
a8b287fead
- ao_data.bps not set, confuses the A-V sync computation when the audio filters
...
are in use.
- computation in get_delay() was returning bogus values
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7715 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-11 21:22:55 +00:00
jkeil
34b4b61bea
Handle playback of sample rates not supported by the sun audio hardware.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7657 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 18:42:31 +00:00
arpi
86349f9208
*bsd doesn't have info.output_muted - patch by Björn Sandell <biorn@dce.chalmers.se>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7423 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-16 19:46:02 +00:00
jkeil
a019c0dd3d
Reconstruct the muting state for the playback from a l/r volume of 0.0.
...
This way the sound card is really silent, when the mute state is toggled in
gmplayer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7380 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-12 16:59:11 +00:00
jkeil
dbe6de1995
- gui version of mplayer is using the audio 'control' function before(!) the
...
audio-out module is initialized. As a workaround, initialize the audio
device pathnames in the control function, otherwise the mixer does not work
in gmplayer.
- gui: Add support for left/right balance to the sun audio driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7379 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-12 12:56:05 +00:00
atmos4
ed856102c6
Patch to improve bufferhandling on OpenBSD and NetBSD, by Björn Sandell and Bernd Ernesti <mplayer at lists.veego.de>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6631 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-03 21:17:31 +00:00
jkeil
ee2ad20548
Default to the mixer device matching the audio device used for audio output.
...
That is, if the user redirects audio to /dev/sound/1 with the AUDIODEV
environment variable, use /dev/sound/1ctl as the mixer device.
When AUDIODEV is not set, the default for both devices is /dev/audio &
/dev/audioctl.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5894 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-29 08:47:30 +00:00
arpi
30d0116d16
OpenBSD, NetBSD portability patches by
...
Björn Sandell <biorn@dce.chalmers.se>
Marcus <core@antbear.org>
Bernd Ernesti <mplayer@lists.veego.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5873 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-27 22:42:27 +00:00
jkeil
094f9712df
Fix a few syntax errors compiling ao_sun.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4908 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-01 14:54:05 +00:00
anders
ee2ed8567e
Moved HW dependent mixer stuff to libao and removed master switch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4789 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 16:02:26 +00:00
jkeil
ed615f4d81
Use $AUDIODEV environment variable as the default audio device on solaris, if
...
available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3493 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-14 20:13:17 +00:00
anders
abf8696e5e
Audio delay bugfix
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3138 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-26 11:30:35 +00:00
anders
242aa6ebd4
interface to libao2 changed ao_plugin added
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3096 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 05:21:22 +00:00
jkeil
ac2fbcbf25
Sun audiocs HW does not support AFMT_U8, try to use AFMT_S8 instead. If AFMT_S8
...
is available, convert to AFMT_S8 in software.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1808 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-31 20:34:17 +00:00
arpi
2e5a0ca6fe
printfs cleanup - moved to higher -v level or moved to stderr
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1457 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-06 23:59:50 +00:00
jkeil
42805cb451
AUDIO_ENCODING_LINEAR8 format is not available on sunos 5.5. Format is
...
unsupported in mplayer for now, to get the code compiled on that old version
of the OS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1347 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 20:04:54 +00:00
jkeil
61bce79d66
On big-endian architectures, all audio decoders default to big-endian 16-bit
...
audio sample format.
Add support to play both big- and little-endian 16-bit audio format to the
sun audio_out driver.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1321 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-14 16:58:55 +00:00