aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/snd_openal.c
Commit message (Collapse)AuthorAgeFilesLines
* * Entity sounds on the player entity are now AL_SOURCE_RELATIVEtma2006-02-281-24/+89
| | | | | | | * Thus no need to s_alSpatEntOrigin anymore git-svn-id: svn://svn.icculus.org/quake3/trunk@593 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Sound related bug fixes from Thilo Schulztma2006-02-261-0/+16
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@587 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change the default for s_alSpatEntOrigin. I need to think of a way to do thetma2006-02-231-1/+1
| | | | | | | same thing without degrading the sound quality or changing the API. git-svn-id: svn://svn.icculus.org/quake3/trunk@583 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to a woopsietma2006-02-131-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@540 edf5b092-35ff-0310-97b2-ce42778d08ea
* * OpenAL now respatializes using the player entity origin instead of the viewtma2006-02-121-5/+15
| | | | | | | | origin by default. The old behaviour is available by setting s_alSpatEntOrigin to 0. git-svn-id: svn://svn.icculus.org/quake3/trunk@539 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Removed (unintentional) C99 codetma2006-02-071-13/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@536 edf5b092-35ff-0310-97b2-ce42778d08ea
* * workaround for msvc compiler bug.maik2006-02-071-0/+14
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@533 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to an OpenAL "bug" involving Team Arenatma2006-01-221-2/+15
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@518 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added Q_isnan for NaN tests with -ffast-mathtma2006-01-191-9/+6
| | | | | | | * Fixed UT/OpenAL work around git-svn-id: svn://svn.icculus.org/quake3/trunk@510 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Some sloppily coded mods call the Q3 sound API with NaNs -- sanitise thistma2006-01-191-0/+29
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@508 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change defaults for s_alRolloff and s_alMinDistancetma2006-01-151-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@486 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Increase default for s_alSources to 96tma2005-12-111-2/+2
| | | | | | | * Source allocation warning on looping sounds demoted to developer only git-svn-id: svn://svn.icculus.org/quake3/trunk@438 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Same as last revision, but I didn't forget to save this timetma2005-12-031-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@408 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Improved the robustity^Wrobustosity^Wrobustness of the OpenAL music and rawtma2005-12-031-81/+100
| | | | | | | | | stream systems * Implemented S_AL_BufferEvict for more graceful behaviour when OpenAL runs out of memory git-svn-id: svn://svn.icculus.org/quake3/trunk@407 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to an OpenAL "bug"tma2005-12-021-0/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@405 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fixed bug where if two looping sounds were added to a single entity theytma2005-12-011-122/+121
| | | | | | | | | | | would fight for a source and you'd get a horrible distorted sound that was each of the two sounds interleaved * Changed the default of s_alPrecache to 1 -- having it off seems to cause problems for some and it doesn't actually improve things much * Changed a few of the variable names in snd_openal.c to be more sane git-svn-id: svn://svn.icculus.org/quake3/trunk@400 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Support RIFF files with zero length data chunks (yes they exist, and yes,tma2005-11-301-15/+43
| | | | | | | | they're legal) * Colourise the OpenAL warnings so they're somewhat more obvious git-svn-id: svn://svn.icculus.org/quake3/trunk@389 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.localtma2005-11-261-4/+4
| | | | | | | | | * Remove -gfull from linux section in Makefile -- it's darwin only * Cast away some warnings that surfaced from using "new" AL headers * Various whitespace and consistency fixes git-svn-id: svn://svn.icculus.org/quake3/trunk@375 edf5b092-35ff-0310-97b2-ce42778d08ea
* make internal functions staticludwig2005-11-191-2/+42
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@368 edf5b092-35ff-0310-97b2-ce42778d08ea
* soname is libopenal.so.0ludwig2005-11-131-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@348 edf5b092-35ff-0310-97b2-ce42778d08ea
* * OpenAL support, from BlackAura aka Stuart Dalton <badcdev@gmail.com>tma2005-11-131-0/+1567
+ An abstract codec system, simplifying support for new formats + Changes versus BlackAura's patch: o Consolidated the OpenAL parts into one file o Changed the function naming scheme to more closely resemble Q3 o Changed the interface to fall back on the "base" sound system if loading OpenAL fails + This is enabled on Linux and MinGW for now, but should work on the other *nixs with appropriate additions to the Makefile + NOT enabled on OS X or MSVC Windows builds + Probably breaks the Windows build again * Retabulated sdl_snd.c and made the messages less verbose since there do not seem to be many having problems with SDL sound now git-svn-id: svn://svn.icculus.org/quake3/trunk@343 edf5b092-35ff-0310-97b2-ce42778d08ea