aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2/ao_sun.c
Commit message (Collapse)AuthorAge
* cleanup: remove NULL checks before free() all over the codeGravatar cboesch2010-11-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
* ao_sun: Add support for AOPLAY_FINAL_CHUNKGravatar reimar2010-11-02
| | | | | | | | | | | 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
* Delete things related to old translation systemGravatar Uoti Urpala2010-03-10
| | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* Restore collapsed whitespace in output messagesGravatar Uoti Urpala2010-03-07
| | | | | | | | | For some reason commit e306174952d42e1cd6cc5efc50ae6bb0410501bc, 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.
* Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
|
* Translation system changes part 2: replace macros by stringsGravatar Amar Takhar2009-07-07
| | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* Translation system changes part 1: wrap translated stringsGravatar Amar Takhar2009-07-07
| | | | | 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.Gravatar reimar2009-03-06
| | | | 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(), ↵Gravatar reimar2009-02-21
| | | | | | | | | 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.Gravatar diego2009-01-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28378 b3059339-0415-0410-9bf9-f77b7e298cf2
* reset() should not senselessly close and reopenGravatar reimar2008-04-07
| | | | | | | 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 openingGravatar reimar2008-04-07
| | | | | | | 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 removingGravatar reimar2007-06-23
| | | | | | | 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 ifdefGravatar reimar2007-05-20
| | | | 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.cGravatar reimar2007-05-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23353 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement flushing of audio data. Fixes bug #754.Gravatar reimar2007-05-20
| | | | | | | 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 historyGravatar reimar2007-05-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23350 b3059339-0415-0410-9bf9-f77b7e298cf2
* modifies function declarations without parameters from ()Gravatar reynaldo2006-07-06
| | | | | | | | | 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_msgGravatar diego2006-03-24
| | | | 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.Gravatar diego2006-03-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup, removing internal conversions. Testing welcome.Gravatar reimar2005-01-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14410 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_fmt2str_shortGravatar alex2004-12-28
| | | | 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...Gravatar reimar2004-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14256 b3059339-0415-0410-9bf9-f77b7e298cf2
* hopefully final fixGravatar alex2004-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14250 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lGravatar alex2004-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14248 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make include paths consistent.Gravatar diego2004-12-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14124 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing authorsGravatar alex2004-10-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13550 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg transition of unmaintained audio output drivers.Gravatar ivo2004-09-18
| | | | | | | 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 SandellGravatar faust32004-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12149 b3059339-0415-0410-9bf9-f77b7e298cf2
* uninit immed flagGravatar alex2004-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12146 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix bps calculation when resampling,Gravatar attila2003-06-22
| | | | | | | 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>Gravatar alex2003-03-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9634 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativeGravatar arpi2002-11-01
| | | | 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 filtersGravatar jkeil2002-10-11
| | | | | | | | | 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.Gravatar jkeil2002-10-07
| | | | 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 ↵Gravatar arpi2002-09-16
| | | | | | <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.Gravatar jkeil2002-09-12
| | | | | | | | 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(!) theGravatar jkeil2002-09-12
| | | | | | | | | | | 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 ↵Gravatar atmos42002-07-03
| | | | | | 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.Gravatar jkeil2002-04-29
| | | | | | | | | | | 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 byGravatar arpi2002-04-27
| | | | | | | | | 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.cGravatar jkeil2002-03-01
| | | | 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 switchGravatar anders2002-02-21
| | | | 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, ifGravatar jkeil2001-12-14
| | | | | | | available. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Audio delay bugfixGravatar anders2001-11-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3138 b3059339-0415-0410-9bf9-f77b7e298cf2
* interface to libao2 changed ao_plugin addedGravatar anders2001-11-24
| | | | 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_S8Gravatar jkeil2001-08-31
| | | | | | | 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 stderrGravatar arpi2001-08-06
| | | | 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 isGravatar jkeil2001-07-19
| | | | | | | | 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-bitGravatar jkeil2001-07-14
| | | | | | | | | | 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