summaryrefslogtreecommitdiffstats
path: root/libao2/ao_sdl.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* 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/mplayer/trunk@973 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for sdl audio out (buggy pre-alpha).atmosfear2001-06-031-0/+165
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@967 b3059339-0415-0410-9bf9-f77b7e298cf2