aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* VoIP: Enable Automatic Gain Control.icculus2008-06-081-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1378 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: attempt at changing voipPower calc and using it for VAD.icculus2008-06-082-22/+12
| | | | | | | | | | | | | | | | | The Speex VAD sort of sucks, honestly, or I'm not using it right. Now trying this algorithm, after denoising: http://lists.xiph.org/pipermail/speex-dev/2006-March/004269.html And I'll play around to find the threshold for considering a set of frames to be "voice" from there. Also worth noting: we consider the power of the set of frames as a whole, so you need to sustain power for 0.25 seconds at a time, or it's not "voice." git-svn-id: svn://svn.icculus.org/quake3/trunk@1377 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: changed debug output filenames.icculus2008-06-071-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1376 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: initial shot at voice activation.icculus2008-06-074-34/+71
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1375 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Only update from cl_voipSendTarget if sending data.icculus2008-06-071-25/+26
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1374 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Initial work on adding Speex preprocessor.icculus2008-06-073-2/+14
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1373 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Don't hardcode Speex sample rate.icculus2008-06-075-8/+17
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1372 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Fixed per-user gain output.icculus2008-06-051-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1370 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add PRODUCT_VERSION back into q_shared.h for MSVC builds.juz2008-06-041-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1367 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: functionality to adjust incoming audio gain, per-user.icculus2008-06-044-3/+41
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1366 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: client can now specify targets for voice transmission.icculus2008-06-044-1/+21
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1365 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: voip cvar should be 1 by default.icculus2008-06-031-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1363 edf5b092-35ff-0310-97b2-ce42778d08ea
* Patched to compile on non Mac platforms.icculus2008-06-031-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1362 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed the protocol for VoIP packets to support legacy clients.icculus2008-06-036-16/+79
| | | | | | | | | | | | | Previously, a legacy client wouldn't get a VoIP packet, but if they did, they'd panic and disconnect. Now they ignore them and continue on. This also gives us the framework to add other features legacy clients can ignore. Oh, this also has the benefit of allowing us to store incoming VoIP for playback in recorded demos. They'll play the chatter on VoIP clients, and be ignored on legacy ones. Huge win. git-svn-id: svn://svn.icculus.org/quake3/trunk@1361 edf5b092-35ff-0310-97b2-ce42778d08ea
* Don't allow client to capture audio if playing back a demo.icculus2008-06-031-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1360 edf5b092-35ff-0310-97b2-ce42778d08ea
* More VoIP work: treat voip/sv_voip cvars as protocol version numbers.icculus2008-06-023-2/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1358 edf5b092-35ff-0310-97b2-ce42778d08ea
* Treat sv_voip cvar as a version number (0 == off, 1 == version 1 protocol).icculus2008-06-022-1/+7
| | | | | | | Don't publish it to server's info string if set to zero. git-svn-id: svn://svn.icculus.org/quake3/trunk@1357 edf5b092-35ff-0310-97b2-ce42778d08ea
* sv_voip cvar should be latched.icculus2008-06-021-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1356 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix openal dlopenludwig2008-06-021-0/+15
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1355 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added libspeex to revision control, and updated Makefile to use it.icculus2008-06-01102-0/+27607
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1352 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed a few VoIP cvars to be latched.icculus2008-06-012-3/+3
| | | | | | | It either doesn't make sense to change these mid-game, or doing so won't work. git-svn-id: svn://svn.icculus.org/quake3/trunk@1351 edf5b092-35ff-0310-97b2-ce42778d08ea
* Forbid setting voip cvar if network data rate is too low.icculus2008-06-011-11/+23
| | | | | | | This prevents "Connection Interrupted" packets as VoIP data is incoming. git-svn-id: svn://svn.icculus.org/quake3/trunk@1350 edf5b092-35ff-0310-97b2-ce42778d08ea
* Client shouldn't try to capture audio data if voip cvar is disabled.icculus2008-06-011-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1349 edf5b092-35ff-0310-97b2-ce42778d08ea
* Initial patch for in-game VoIP support!icculus2008-06-0118-127/+1144
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1348 edf5b092-35ff-0310-97b2-ce42778d08ea
* mumble link supportludwig2008-05-305-0/+235
| | | | | | | The coordinate calculation was adopted from Warsow's mumble patch. git-svn-id: svn://svn.icculus.org/quake3/trunk@1347 edf5b092-35ff-0310-97b2-ce42778d08ea
* reorder includes to fix build on OpenBSD (#3663, patch by Jonathan Gray)ludwig2008-05-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1346 edf5b092-35ff-0310-97b2-ce42778d08ea
* whoops.thilo2008-05-171-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1345 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Workaround for buggy MacOSX getaddrinfo() implementation that doesn't ↵thilo2008-05-171-2/+10
| | | | | | | | | accept AF_UNSPEC parameter in hints structure. Thanks icculus for reporting. - Add -faltivec flag for debug builds. git-svn-id: svn://svn.icculus.org/quake3/trunk@1344 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3641) Server is left running following a local disconnecttma2008-05-121-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1343 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix a bunch of compile warningstma2008-05-102-27/+42
| | | | | | | | * Only call pkg-config if it exists * Remove cl_consoleHistory from README git-svn-id: svn://svn.icculus.org/quake3/trunk@1342 edf5b092-35ff-0310-97b2-ce42778d08ea
* combine all mouse events received in one frameludwig2008-05-061-1/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1341 edf5b092-35ff-0310-97b2-ce42778d08ea
* define the product version in the Makefileludwig2008-05-061-7/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1340 edf5b092-35ff-0310-97b2-ce42778d08ea
* Show true framerate with stereo separation enabledthilo2008-05-031-4/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1337 edf5b092-35ff-0310-97b2-ce42778d08ea
* shut up warningthilo2008-05-011-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1336 edf5b092-35ff-0310-97b2-ce42778d08ea
* - replace a few constant values with GL macros in tr_cmds.cthilo2008-05-0110-91/+175
| | | | | | | | | | - tidy up top of tr_types.h a bit, change flags to hex representation - make ROM cvar enforcing really work - remove cg_stereoSeparation from cgame as it is obsolete. - Add CG_DrawCrosshair3D so people see crosshair correctly when stereoseparation is enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@1335 edf5b092-35ff-0310-97b2-ce42778d08ea
* - variables with CVAR_ROM set get now overwritten by Cvar_Get() if the cvar ↵thilo2008-05-011-11/+30
| | | | | | | | | exists already but was created by the user. - Fix null pointer crash in Cvar_Print_f(), thanks to humancontroller for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1334 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make forced unloading work in more cases than just server disconnectsthilo2008-04-291-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1333 edf5b092-35ff-0310-97b2-ce42778d08ea
* - change default value for stereo seperationthilo2008-04-273-7/+29
| | | | | | | | - make clearing buffer use black for clearing when changing anaglyphmode - Make sure that dlights are greyscale, too. git-svn-id: svn://svn.icculus.org/quake3/trunk@1331 edf5b092-35ff-0310-97b2-ce42778d08ea
* This may enable stereo rendering for other devices like shutter glasses, but ↵thilo2008-04-272-3/+12
| | | | | | I don't know whether this works yet. git-svn-id: svn://svn.icculus.org/quake3/trunk@1330 edf5b092-35ff-0310-97b2-ce42778d08ea
* Another two minor clean-ups to last commit.thilo2008-04-272-5/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1329 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Implement stereo rendering with anaglyph images.thilo2008-04-2710-130/+424
| | | | | | | - Add r_greyscale for black&white rendering git-svn-id: svn://svn.icculus.org/quake3/trunk@1328 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3611) prevent global symbol conflict on some systems (Mac OS X) fortjw2008-04-233-4/+3
| | | | | | | lcc's getopt (Ben Millwood) git-svn-id: svn://svn.icculus.org/quake3/trunk@1326 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix crash bug for interfaces without assigned address, thanks to PhoinixGR ↵thilo2008-04-211-1/+7
| | | | | | for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1324 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix obvious bug, thanks mattn2thilo2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1323 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix build on IRIX (Patrick Baggett)ludwig2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1322 edf5b092-35ff-0310-97b2-ce42778d08ea
* better handling of illegal mode valuesludwig2008-04-131-3/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1320 edf5b092-35ff-0310-97b2-ce42778d08ea
* sort video modes only if there are modes to sortludwig2008-04-131-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1319 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove commented codethilo2008-04-121-5/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1318 edf5b092-35ff-0310-97b2-ce42778d08ea
* Another change to server parsing as a server reporting in from 69.79.84.0/24 ↵thilo2008-04-121-29/+25
| | | | | | with the master server could screw up the server list in ioquake3 clients. git-svn-id: svn://svn.icculus.org/quake3/trunk@1316 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some recently introduced warningstma2008-04-123-5/+4
| | | | | | | * Fix referenced pk3 list including excessive number of spaces git-svn-id: svn://svn.icculus.org/quake3/trunk@1315 edf5b092-35ff-0310-97b2-ce42778d08ea