Commit Graph

38 Commits

Author SHA1 Message Date
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
jkeil 82eac1391a Support playback of AFMT_S16_LE audio data on a big endian machine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1309 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:30:15 +00:00
arpi_esp e7a1ac130a ao_subdevice support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1210 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-23 19:40:04 +00:00
atmosfear 600ae0bdde Applied patch by Jürgen Keil (jk@tools.de), improves smoothness of video playback.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1197 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-22 21:37:13 +00:00
arpi_esp 0b3d0c82a7 fixed AFMT_ stuff (inclue afmt.h)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1059 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-08 23:31:06 +00:00
arpi_esp 96d03d719d SUN-Solaris audio out
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1042 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-06 19:10:47 +00:00