Tim Angus
2cf5052786
* (bug 3674) Change default for s_alGain from 0.4 to 1.0
2008-08-08 18:27:06 +00:00
Tim Angus
d13269c5bb
* Restrict OpenAL capture support test hack to OS X, where it is required; this
...
fixes a crash on exit with Windows when using OpenAL
2008-08-03 19:31:42 +00:00
Tim Angus
37d664d4b2
* Rename voip cvar to cl_voip
...
* s/#if USE_VOIP/#ifdef USE_VOIP/
* Add generalised runtime cvar range checking, currently on [sv|cl]_voip,
dedicated and a bunch of r_ variables
2008-07-07 22:31:39 +00:00
Ryan C. Gordon
26c706df15
VoIP: Don't hardcode Speex sample rate.
2008-06-07 14:38:46 +00:00
Ryan C. Gordon
b5eaa94d03
Changed a few VoIP cvars to be latched.
...
It either doesn't make sense to change these mid-game, or doing so won't work.
2008-06-01 18:10:33 +00:00
Ryan C. Gordon
12326a9eac
Initial patch for in-game VoIP support!
2008-06-01 07:51:23 +00:00
Tim Angus
a857487f9b
* Fix a bunch of compile warnings
...
* Only call pkg-config if it exists
* Remove cl_consoleHistory from README
2008-05-10 18:51:02 +00:00
Tim Angus
25ac1317b1
* Remove work around for a 2 year old OpenAL bug that now actually causes a
...
crash on snd_restart
2007-11-11 22:15:25 +00:00
Tim Angus
7562caa310
* Move the conditional compilation of bg_lib.c from the Makefile to cpp in
...
order to force dependency generation on bg_lib.*
* Make testing USE_ defines more consistent
2007-09-22 20:32:11 +00:00
Thilo Schulz
1de9a065bf
Remove cvar s_alMaxSpeakerDistance for the same task can better be achieved with s_alMaxDistance.
2007-03-17 15:54:37 +00:00
Thilo Schulz
5dc3b35b49
- Fix loads of format string bugs
...
- Fix locally looping sounds, thanks to Timbo
2007-01-24 21:23:21 +00:00
Thilo Schulz
c1875302c2
- Fix two non-C-standard variable declarations.
...
- Fix function name of vsnprintf for windows systems.
2007-01-07 16:03:19 +00:00
Ludwig Nussel
8e82c3d605
- tag more functions with gnu format attribute
...
- fix format string bugs. still some left
2006-12-30 12:32:54 +00:00
Thilo Schulz
4502f863d4
There's still a little bug in my recent change...
2006-11-26 11:12:35 +00:00
Thilo Schulz
26cf8f2987
- Add input sanitising to various sound playing functions called from MODs.
...
This fixes https://bugzilla.icculus.org/show_bug.cgi?id=2836
- Make searching through the knownSfx array a bit more efficient.
2006-11-25 13:35:23 +00:00
Thilo Schulz
d23e7a1521
Fix bug in parameter checking. Thanks to Neil Toronto for reporting.
2006-11-23 11:10:30 +00:00
Thilo Schulz
b57a970034
- Explicitly set distance attenuation model.
...
- Mute sounds that exceed a certain distance from the listener.
2006-11-03 08:22:38 +00:00
Tony J. White =
41add6c01f
* (bug 2893) OpenAL was not tracking one-shot sound effects to the entity's
...
position
2006-10-13 18:58:57 +00:00
Ludwig Nussel
cec7660885
looks like ALCchar is not available on older openal versions
2006-09-05 07:05:04 +00:00
Thilo Schulz
57dbc7a79f
- Fixed filehandle / filedescriptor leak in S_AL_StartBackgroundTrack introduced in rev. 832
...
- intro now plays correctly before looping sound.
2006-08-27 15:31:03 +00:00
Thilo Schulz
467917233a
- Change available device list to be displayed on sound initialization and
...
use line feeds as separators.
2006-08-19 22:17:04 +00:00
Tim Angus
4c8c2e5597
* Compiler warning fix
2006-08-19 14:40:24 +00:00
Thilo Schulz
b2b17e334e
- tweak enumeration support, remove win32 dependency
...
- fix two typos in status message in snd_main.c
2006-08-19 13:44:10 +00:00
Thilo Schulz
87a3858f9a
- Add device enumeration support on windows and make "Generic Software" new 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.
2006-08-19 11:02:20 +00:00
Tony J. White =
0bffb8a8cd
bug 2747
...
* 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
2006-08-03 03:15:24 +00:00
Tony J. White =
0141a4b4b0
bug 2747
...
* 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.
2006-08-03 02:29:47 +00:00
Tony J. White =
9a6fad9cf1
bug 2723
...
* 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
2006-08-02 04:01:36 +00:00
Tim Angus
d42b87ae87
* OpenAL bug fix (from Josh Weisskopf)
2006-06-17 21:01:57 +00:00
Tim Angus
ef4dad1875
* Entity sounds on the player entity are now AL_SOURCE_RELATIVE
...
* Thus no need to s_alSpatEntOrigin anymore
2006-02-28 21:52:25 +00:00
Tim Angus
40a5ee007f
* Sound related bug fixes from Thilo Schulz
2006-02-26 18:47:39 +00:00
Tim Angus
0e0aac2cb6
* Change the default for s_alSpatEntOrigin. I need to think of a way to do the
...
same thing without degrading the sound quality or changing the API.
2006-02-23 20:43:34 +00:00
Tim Angus
26b4ed2f7d
* Fix to a woopsie
2006-02-13 18:17:08 +00:00
Tim Angus
932ca8027c
* OpenAL now respatializes using the player entity origin instead of the view
...
origin by default. The old behaviour is available by setting
s_alSpatEntOrigin to 0.
2006-02-12 10:43:37 +00:00
Tim Angus
ef19ccd56f
* Removed (unintentional) C99 code
2006-02-07 18:36:17 +00:00
Maik
602743a25b
* workaround for msvc compiler bug.
2006-02-07 12:26:53 +00:00
Tim Angus
704c151eb1
* Fix to an OpenAL "bug" involving Team Arena
2006-01-22 21:09:55 +00:00
Tim Angus
58c8175024
* Added Q_isnan for NaN tests with -ffast-math
...
* Fixed UT/OpenAL work around
2006-01-19 20:28:12 +00:00
Tim Angus
50a10f2690
* Some sloppily coded mods call the Q3 sound API with NaNs -- sanitise this
2006-01-19 17:25:55 +00:00
Tim Angus
d4bd2fd737
* Change defaults for s_alRolloff and s_alMinDistance
2006-01-15 15:45:12 +00:00
Tim Angus
6c6396a54f
* Increase default for s_alSources to 96
...
* Source allocation warning on looping sounds demoted to developer only
2005-12-11 21:14:45 +00:00
Tim Angus
e67d270f2a
* Same as last revision, but I didn't forget to save this time
2005-12-03 16:36:45 +00:00
Tim Angus
5cc1fb1c05
* Improved the robustity^Wrobustosity^Wrobustness of the OpenAL music and raw
...
stream systems
* Implemented S_AL_BufferEvict for more graceful behaviour when OpenAL runs
out of memory
2005-12-03 00:19:27 +00:00
Tim Angus
0f8c177cf3
* Fix to an OpenAL "bug"
2005-12-02 00:14:24 +00:00
Tim Angus
3161a34a4f
* Fixed bug where if two looping sounds were added to a single entity they
...
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
2005-12-01 18:22:42 +00:00
Tim Angus
ae39051f1e
* Support RIFF files with zero length data chunks (yes they exist, and yes,
...
they're legal)
* Colourise the OpenAL warnings so they're somewhat more obvious
2005-11-30 01:57:53 +00:00
Tim Angus
382c6adb54
* Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.local
...
* 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
2005-11-26 15:01:28 +00:00
Ludwig Nussel
108c051345
make internal functions static
2005-11-19 14:53:46 +00:00
Ludwig Nussel
17719e0c61
soname is libopenal.so.0
2005-11-13 21:01:07 +00:00
Tim Angus
84c4f21082
* OpenAL support, from BlackAura aka Stuart Dalton <badcdev@gmail.com>
...
+ 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
2005-11-13 18:58:14 +00:00