aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2/ao_sdl.c
Commit message (Collapse)AuthorAge
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | 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 osdepGravatar al2005-12-26
| | | | | | | | | | | - 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 fileGravatar reimar2005-02-27
| | | | | | | is played to end). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14850 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
* removing AFMT_ dependancyGravatar alex2004-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 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
* respect immed uninit flag, initialize ao_data.outburst.Gravatar reimar2004-11-06
| | | | 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!).Gravatar reimar2004-10-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13833 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
* automatic loading of af_volume, original patch by Dan Christiansen (danchr ↵Gravatar reimar2004-07-28
| | | | | | (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 offGravatar diego2004-06-28
| | | | | | | 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 DoffingerGravatar alex2004-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12674 b3059339-0415-0410-9bf9-f77b7e298cf2
* use fallback for unsupported formats instead of quittingGravatar reimar2004-05-07
| | | | 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 ↵Gravatar faust32004-04-07
| | | | | | by Nehal <nehalmistry at gmx.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12152 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
* restore old SAMPLESIZEGravatar faust32004-04-03
| | | | 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 ↵Gravatar faust32004-04-01
| | | | | | 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.Gravatar diego2004-03-15
| | | | 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>Gravatar faust32004-03-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12020 b3059339-0415-0410-9bf9-f77b7e298cf2
* URL updated.Gravatar diego2004-01-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11751 b3059339-0415-0410-9bf9-f77b7e298cf2
* IRIX support by Timo Kanera <timo@kanera.de>Gravatar alex2003-09-07
| | | | 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>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
* Check what we obtain in SDL_OpenAudio() - allows to build theGravatar colin2002-10-25
| | | | | | | | | 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)Gravatar colin2002-10-24
| | | | | | | checked by Arpi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7898 b3059339-0415-0410-9bf9-f77b7e298cf2
* fill ao_data correctlyGravatar arpi2002-10-07
| | | | 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>Gravatar arpi2002-08-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6957 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add volume control, patch byGravatar atmos42002-05-25
| | | | | | | Colin Leroy <colin at colino.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6185 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
* Corrected SDL include path.Gravatar atmos42001-06-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1239 b3059339-0415-0410-9bf9-f77b7e298cf2
* sdl_adriver liquidated, ao_subdevice usedGravatar al3x2001-06-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1190 b3059339-0415-0410-9bf9-f77b7e298cf2
* Lock callback on pause, unlock on resume.Gravatar atmosfear2001-06-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1092 b3059339-0415-0410-9bf9-f77b7e298cf2
* Better format info.Gravatar atmosfear2001-06-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1071 b3059339-0415-0410-9bf9-f77b7e298cf2
* Better audio format handling.Gravatar atmosfear2001-06-09
| | | | 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>Gravatar arpi_esp2001-06-05
| | | | 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.Gravatar atmosfear2001-06-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Microchange =)Gravatar atmosfear2001-06-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@986 b3059339-0415-0410-9bf9-f77b7e298cf2
* Several small changes (like driver selection).Gravatar atmosfear2001-06-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@984 b3059339-0415-0410-9bf9-f77b7e298cf2
* -abs support - fixedGravatar arpi_esp2001-06-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@976 b3059339-0415-0410-9bf9-f77b7e298cf2
* -abs supportGravatar arpi_esp2001-06-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@975 b3059339-0415-0410-9bf9-f77b7e298cf2
* Yea, it worksss!Gravatar atmosfear2001-06-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@973 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for sdl audio out (buggy pre-alpha).Gravatar atmosfear2001-06-03
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@967 b3059339-0415-0410-9bf9-f77b7e298cf2