aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/snd_openal.c
Commit message (Collapse)AuthorAgeFilesLines
* - Fixed filehandle / filedescriptor leak in S_AL_StartBackgroundTrack ↵thilo2006-08-271-28/+70
| | | | | | | | | introduced in rev. 832 - intro now plays correctly before looping sound. git-svn-id: svn://svn.icculus.org/quake3/trunk@874 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Change available device list to be displayed on sound initialization andthilo2006-08-191-8/+6
| | | | | | | use line feeds as separators. git-svn-id: svn://svn.icculus.org/quake3/trunk@856 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Compiler warning fixtma2006-08-191-2/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@855 edf5b092-35ff-0310-97b2-ce42778d08ea
* - tweak enumeration support, remove win32 dependencythilo2006-08-191-17/+4
| | | | | | | - fix two typos in status message in snd_main.c git-svn-id: svn://svn.icculus.org/quake3/trunk@854 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add device enumeration support on windows and make "Generic Software" new ↵thilo2006-08-191-0/+75
| | | | | | | | | | default device as that one seems to work more reliably on many platforms. - Add shfolder.lib library to dependencies in MSVC project files - update documentation for OpenAL changes. git-svn-id: svn://svn.icculus.org/quake3/trunk@853 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2747tjw2006-08-031-1/+5
| | | | | | | | | | * it turns out Apple's OpenAL only allows for 64 alSource's by default http://opensource.creative.com/pipermail/openal/2005-October/008893.html This was the main cause of the Mac OS X OpenAL probem since we were using 128 as MAX_SRC git-svn-id: svn://svn.icculus.org/quake3/trunk@833 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2747tjw2006-08-031-13/+10
| | | | | | | | | | * open music stream in S_AL_StartBackgroundTrack() instead of relying on S_AL_MusicProcess() to open it. This allows S_AL_MusicProcess() to return early when called whenever there is no open music stream to prevent a segfault. git-svn-id: svn://svn.icculus.org/quake3/trunk@832 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2723tjw2006-08-021-0/+2
| | | | | | | | | | | | | | * adds a shell script ./make-macosx-ub.sh that builds Mac OS X Universal Binary * fixes Mac OS X x86 VM crashes (-mstackrealign) * adds current working directory to the search path on Mac OS X to make working with .app bundles easier * various tweaks to make ioquake3 build against the 10.2 SDK * changed default OpenAL .dylib location to the path of the one included with the Framework bundled in 10.4 (for USE_OPENAL_DLOPEN) * updated to a Universal libSDL-1.2.0.dylib git-svn-id: svn://svn.icculus.org/quake3/trunk@830 edf5b092-35ff-0310-97b2-ce42778d08ea
* * OpenAL bug fix (from Josh Weisskopf)tma2006-06-171-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@810 edf5b092-35ff-0310-97b2-ce42778d08ea
* * 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