summaryrefslogtreecommitdiffstats
path: root/libao2/ao_sdl.c
Commit message (Collapse)AuthorAgeFilesLines
* libvo, libao: remove useless video and audio output driverswm42012-07-281-319/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of these have only limited use, and some of these have no use at all. Remove them. They make maintainance harder and nobody needs them. It's possible that many of the removed drivers were very useful a dozen of years ago, but now it's 2012. Note that some of these could be added back, in case they were more useful than I thought. But right now, they are just a burden. Reason for removal for each module: vo_3dfx, vo_dfbmga, vo_dxr3, vo_ivtv, vo_mga, vo_s3fb, vo_tdfxfb, vo_xmga, vo_tdfx_vid: All of these are for very specific and outdated hardware. Some of them require non-standard kernel drivers or do direct HW access. vo_dga: the most crappy and ancient way to get fast output on X. vo_aa: there's vo_caca for the same purpose. vo_ggi: this never lived, and is entirely useless. vo_mpegpes: for DVB cards, I can't test this and it's crappy. vo_fbdev, vo_fbdev2: there's vo_directfb2 vo_bl: what is this even? But it's neither important, nor alive. vo_svga, vo_vesa: you want to use this? You can't be serious. vo_wii: I can't test this, and who the hell uses this? vo_xvr100: some Sun thing. vo_xover: only useful in connection with xvr100. ao_nas: still alive, but I doubt it has any meaning today. ao_sun: Sun. ao_win32: use ao_dsound or ao_portaudio instead. ao_ivtv: removed along vo_ivtv. Also get rid of anything SDL related. SDL 1.x is total crap for video output, and will be replaced with SDL 2.x soon (perhaps), so if you want to use SDL, write output drivers for SDL 2.x. Additionally, I accidentally damaged Sun support, which made me completely remove Sun/Solaris support. Nobody cares about this anyway. Some left overs from previous commits removing modules were cleaned up.
* libao2: try to identify some audio outputs that have persistent volumewm42012-01-181-0/+2
| | | | | | | | | | | | The mplayer frontend (specifically, mixer.c) needs to know this. If the audio output doesn't remember the volume across reinitialization, the frontend will restore the volume settings. There is also the assumption that the volume setting isn't global in this case (i.e. changing it won't change the volume of other applications or annoy the user otherwise). None of these changes have been tested. I'm guessing that ESD and NAS do per-connection non-persistent volume settings.
* Delete things related to old translation systemUoti Urpala2010-03-101-1/+0
| | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* Merge svn changes up to r30643Uoti Urpala2010-03-101-1/+2
|\
| * Mark some more functions that are not used outside of their files as static.diego2010-02-181-1/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30632 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30185Uoti Urpala2010-01-081-0/+4
|\|
| * Fixup SDL configure check:reimar2010-01-031-0/+4
| | | | | | | | | | | | | | | | | | | | - Make it work without sdl-config which adds at least useless or even hurtful cflags and also does not work for cross-compiling - If using sdl-config, make it use the CFLAGS we actually use for compiling instead of something else. Thus #undef main is needed in the test program. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30178 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29532Uoti Urpala2009-08-181-2/+3
|\|
| * 100l, av_fifo_generic_read does not return anything useful, so ignore itsreimar2009-08-081-2/+3
| | | | | | | | | | | | | | return value and return len instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29481 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-11/+11
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-17/+11
| |
* | Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-071-6/+6
| | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-071-6/+6
| | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* | Merge svn changes up to r29277Uoti Urpala2009-05-081-2/+2
|\|
| * Simplify: use av_fifo_spacereimar2009-04-101-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29166 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28951Uoti Urpala2009-03-141-66/+21
|\|
| * Reuse libavutil fifo code instead of reimplementing it over and over.reimar2009-03-091-66/+21
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28917 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28862Uoti Urpala2009-03-071-1/+1
|\|
| * 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
* | Merge svn changes up to 27824Uoti Urpala2008-10-251-1/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h libmpcodecs/dec_video.c libmpcodecs/vd.c libvo/x11_common.h mplayer.c stream/cache2.c
| * Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.diego2008-10-131-1/+1
| | | | | | | | | | | | | | This avoids a pointless indirection that only obscures what is really done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27573Uoti Urpala2008-09-101-5/+17
|\| | | | | | | | | Conflicts: libmpcodecs/vd_ffmpeg.c
| * Replace casual GPL notices by proper license headers.diego2008-09-071-5/+17
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Make various functions staticUoti Urpala2008-08-121-1/+1
|/
* cosmetics: Remove pointless parentheses from return statements.diego2008-05-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26789 b3059339-0415-0410-9bf9-f77b7e298cf2
* SYS_AMIGAOS4 --> __AMIGAOS4__diego2007-12-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25363 b3059339-0415-0410-9bf9-f77b7e298cf2
* ISO8859-1 --> UTF-8diego2007-07-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-4/+4
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for AOPLAY_FINAL_CHUNK in ao_sdl.creimar2007-02-041-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22122 b3059339-0415-0410-9bf9-f77b7e298cf2
* Amiga OS 4 needs a large sample size.diego2006-12-231-1/+1
| | | | | | | patch by Andrea Palmatè, andrea amigasoft net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-7/+7
| | | | | | | | | | | | | | | | | | | | | | 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
* - move our setenv() fallback implementation to osdepal2005-12-261-16/+0
| | | | | | | | | | | - 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
* aos should respect the immed uninit flag (quit immediatly vs waiting till filereimar2005-02-271-2/+1
| | | | | | | is played to end). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14850 b3059339-0415-0410-9bf9-f77b7e298cf2
* af_fmt2str_shortalex2004-12-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14265 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing AFMT_ dependancyalex2004-12-271-16/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 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
* respect immed uninit flag, initialize ao_data.outburst.reimar2004-11-061-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13888 b3059339-0415-0410-9bf9-f77b7e298cf2
* Different buffering scheme, avoiding possible races (SDL is using threads!).reimar2004-10-311-61/+68
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13833 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_msg transition of unmaintained audio output drivers.ivo2004-09-181-6/+7
| | | | | | | 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
* automatic loading of af_volume, original patch by Dan Christiansen (danchr ↵reimar2004-07-281-1/+1
| | | | | | (at) daimi (dot) au (dot) dk) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12909 b3059339-0415-0410-9bf9-f77b7e298cf2
* Let's keep the full functionality for the release, we can switch this offdiego2004-06-281-1/+1
| | | | | | | when we have found a nicer automatic solution for -af volume. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12715 b3059339-0415-0410-9bf9-f77b7e298cf2
* make the internal sdl mixer optional, idea by Reimar Doffingeralex2004-06-261-1/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12674 b3059339-0415-0410-9bf9-f77b7e298cf2
* use fallback for unsupported formats instead of quittingreimar2004-05-071-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12441 b3059339-0415-0410-9bf9-f77b7e298cf2
* round len to outburst and increment full_buffers at the correct time, patch ↵faust32004-04-071-1/+3
| | | | | | by Nehal <nehalmistry at gmx.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12152 b3059339-0415-0410-9bf9-f77b7e298cf2
* uninit immed flagalex2004-04-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12146 b3059339-0415-0410-9bf9-f77b7e298cf2
* restore old SAMPLESIZEfaust32004-04-031-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12114 b3059339-0415-0410-9bf9-f77b7e298cf2
* let uninit wait until sound is completely played, don't restore volume at ↵faust32004-04-011-13/+13
| | | | | | exit, fixed ringbuffer bug, patch by Nehal <nehalmistry at gmx.net>\n git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12094 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cygwin provides setenv. Fixes compilation on Cygwin.diego2004-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12028 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation with sdl on mingw patch by Nehal <nehalmistry at gmx.net>faust32004-03-131-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12020 b3059339-0415-0410-9bf9-f77b7e298cf2
* URL updated.diego2004-01-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11751 b3059339-0415-0410-9bf9-f77b7e298cf2
* IRIX support by Timo Kanera <timo@kanera.de>alex2003-09-071-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10839 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-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check what we obtain in SDL_OpenAudio() - allows to build thecolin2002-10-251-5/+33
| | | | | | | | | correct audio filter chain if soundcard doesn't support what is requested. Checked by Arpi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7909 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change SDL_(Un)lockAudio to PauseAudio() (works better)colin2002-10-241-2/+2
| | | | | | | checked by Arpi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7898 b3059339-0415-0410-9bf9-f77b7e298cf2
* fill ao_data correctlyarpi2002-10-071-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7661 b3059339-0415-0410-9bf9-f77b7e298cf2
* HPUX porting fixes - patch by Gansser, Martin <MGansser@rand.de>arpi2002-08-091-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6957 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add volume control, patch byatmos42002-05-251-4/+20
| | | | | | | Colin Leroy <colin at colino.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6185 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-11/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3096 b3059339-0415-0410-9bf9-f77b7e298cf2
* Corrected SDL include path.atmos42001-06-271-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1239 b3059339-0415-0410-9bf9-f77b7e298cf2
* sdl_adriver liquidated, ao_subdevice usedal3x2001-06-211-7/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1190 b3059339-0415-0410-9bf9-f77b7e298cf2
* Lock callback on pause, unlock on resume.atmosfear2001-06-101-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1092 b3059339-0415-0410-9bf9-f77b7e298cf2
* Better format info.atmosfear2001-06-091-4/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1071 b3059339-0415-0410-9bf9-f77b7e298cf2
* Better audio format handling.atmosfear2001-06-091-5/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1067 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied solaris8/netbsd/other fixes patch by Jürgen Keil <jk@tools.de>arpi_esp2001-06-051-0/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1039 b3059339-0415-0410-9bf9-f77b7e298cf2
* Increased sample size to solve sound problems one some systems.atmosfear2001-06-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Microchange =)atmosfear2001-06-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@986 b3059339-0415-0410-9bf9-f77b7e298cf2
* Several small changes (like driver selection).atmosfear2001-06-041-3/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@984 b3059339-0415-0410-9bf9-f77b7e298cf2
* -abs support - fixedarpi_esp2001-06-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@976 b3059339-0415-0410-9bf9-f77b7e298cf2
* -abs supportarpi_esp2001-06-031-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@975 b3059339-0415-0410-9bf9-f77b7e298cf2
* Yea, it worksss!atmosfear2001-06-031-62/+116
| | | | git-svn-id: svn://svn.mplayerhq.hu/