summaryrefslogtreecommitdiffstats
path: root/libao2/ao_sun.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace from most filesUoti Urpala2009-07-071-13/+12
|
* Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-071-4/+4
| | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-071-4/+4
| | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* Make ao_info_t structs const.reimar2009-03-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28858 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move resetting audio_info_t samples, eof and error in ao_sun.c to reset(), ↵reimar2009-02-211-8/+9
| | | | | | | | | 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
* Add standard license headers.diego2009-01-261-0/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28378 b3059339-0415-0410-9bf9-f77b7e298cf2
* reset() should not senselessly close and reopenreimar2008-04-071-23/+1
| | | | | | | the device but instead just call flush_audio() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26345 b3059339-0415-0410-9bf9-f77b7e298cf2
* AUDIO_DRAIN makes no sense directly after openingreimar2008-04-071-2/+2
| | | | | | | the device, but it should be done in uninit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26344 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix r23353, it broke ao_sun on non-BSD due to accidentially removingreimar2007-06-231-0/+1
| | | | | | | a return ao_data.outburst; git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23613 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move common ioctl outside of ifdefreimar2007-05-201-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23354 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clean up some unused code and #ifdef mess in ao_sun.creimar2007-05-201-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23353 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement flushing of audio data. Fixes bug #754.reimar2007-05-201-7/+9
| | | | | | | Based on patch by Sergey Svishchev (svs ropnet ru). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23352 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused code, if it is ever needed it can be recovered from historyreimar2007-05-201-36/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23350 b3059339-0415-0410-9bf9-f77b7e298cf2
* modifies function declarations without parameters from ()reynaldo2006-07-061-6/+6
| | | | | | | | | 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
* printf --> mp_msgdiego2006-03-241-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17934 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.diego2006-03-241-8/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup, removing internal conversions. Testing welcome.reimar2005-01-061-35/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14410 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_fmt2str_shortalex2004-12-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14265 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, buf etc. in af_fmt2str call are already pointers...reimar2004-12-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14256 b3059339-0415-0410-9bf9-f77b7e298cf2
* hopefully final fixalex2004-12-271-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14250 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lalex2004-12-271-30/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14248 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make include paths consistent.diego2004-12-071-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14124 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing authorsalex2004-10-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13550 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg transition of unmaintained audio output drivers.ivo2004-09-181-7/+8
| | | | | | | 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
* 10l, patch by Bjoern Sandellfaust32004-04-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12149 b3059339-0415-0410-9bf9-f77b7e298cf2
* uninit immed flagalex2004-04-061-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12146 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix bps calculation when resampling,attila2003-06-221-1/+1
| | | | | | | patch by Marcus Comstedt <marcus (at) mc.pp.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10326 b3059339-0415-0410-9bf9-f77b7e298cf2
* 64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>alex2003-03-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9634 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* - ao_data.bps not set, confuses the A-V sync computation when the audio filtersjkeil2002-10-111-2/+16
| | | | | | | | | 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
* Handle playback of sample rates not supported by the sun audio hardware.jkeil2002-10-071-18/+215
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7657 b3059339-0415-0410-9bf9-f77b7e298cf2
* *bsd doesn't have info.output_muted - patch by Björn Sandell ↵arpi2002-09-161-2/+4
| | | | | | <biorn@dce.chalmers.se> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7423 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reconstruct the muting state for the playback from a l/r volume of 0.0.jkeil2002-09-121-5/+8
| | | | | | | | 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
* - gui version of mplayer is using the audio 'control' function before(!) thejkeil2002-09-121-17/+44
| | | | | | | | | | | 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
* Patch to improve bufferhandling on OpenBSD and NetBSD, by Björn Sandell and ↵atmos42002-07-031-2/+8
| | | | | | Bernd Ernesti <mplayer at lists.veego.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6631 b3059339-0415-0410-9bf9-f77b7e298cf2
* Default to the mixer device matching the audio device used for audio output.jkeil2002-04-291-4/+9
| | | | | | | | | | | 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
* OpenBSD, NetBSD portability patches byarpi2002-04-271-0/+6
| | | | | | | | | 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
* Fix a few syntax errors compiling ao_sun.cjkeil2002-03-011-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4908 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moved HW dependent mixer stuff to libao and removed master switchanders2002-02-211-0/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4789 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use $AUDIODEV environment variable as the default audio device on solaris, ifjkeil2001-12-141-1/+6
| | | | | | | available. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Audio delay bugfixanders2001-11-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3138 b3059339-0415-0410-9bf9-f77b7e298cf2
* interface to libao2 changed ao_plugin addedanders2001-11-241-39/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3096 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sun audiocs HW does not support AFMT_U8, try to use AFMT_S8 instead. If AFMT_S8jkeil2001-08-311-1/+23
| | | | | | | is available, convert to AFMT_S8 in software. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1808 b3059339-0415-0410-9bf9-f77b7e298cf2
* printfs cleanup - moved to higher -v level or moved to stderrarpi2001-08-061-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1457 b3059339-0415-0410-9bf9-f77b7e298cf2
* AUDIO_ENCODING_LINEAR8 format is not available on sunos 5.5. Format isjkeil2001-07-191-0/+2
| | | | | | | | 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
* On big-endian architectures, all audio decoders default to big-endian 16-bitjkeil2001-07-141-6/+18
| | | | | | | | | | 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
* Support playback of AFMT_S16_LE audio data on a big endian machinejkeil2001-07-121-86/+127
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1309 b3059339-0415-0410-9bf9-f77b7e298cf2
* ao_subdevice supportarpi_esp2001-06-231-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1210 b3059339-0415-0410-9bf9-f77b7e298cf2
* Applied patch by Jürgen Keil (jk@tools.de), improves smoothness of video ↵atmosfear2001-06-221-57/+204
| | | | | | playback. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1197 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed AFMT_ stuff (inclue afmt.h)arpi_esp2001-06-081-8/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1059 b3059339-0415-0410-9bf9-f77b7e298cf2
* SUN-Solaris audio outarpi_esp2001-06-061-0/+223
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1042 b3059339-0415-0410-9bf9-f77b7e298cf2